# TableLayer¶

class pywwt.layers.TableLayer(**kwargs: Any)[source]

Bases: `HasTraits`

A layer where the data is stored in an `Table`

Attributes Summary

 `alt_att` The column to use for the altitude (`str`) `alt_type` The type of altitude (`str`) `alt_unit` The units to use for the altitude (`Unit`) `cmap` The Matplotlib colormap (`matplotlib.colors.ListedColormap`) `cmap_att` The column to use for the colormap (`str`) `cmap_vmax` The maximum level of the colormap. `cmap_vmin` The minimum level of the colormap. `color` The color of the markers (`str` or `tuple`) `coord_type` Whether to give the coordinates in spherical or rectangular coordinates `far_side_visible` Whether markers on the far side of a 3D object are visible (`bool`) `lat_att` The column to use for the latitude (`str`) `lon_att` The column to use for the longitude (`str`) `lon_unit` The units to use for longitude (`Unit`) `marker_scale` Whether the scale is defined in world or pixel coordinates (`str`) `marker_type` The type of marker (`str`) `opacity` The opacity of the markers (`str`) `size_att` The column to use for the marker size (`str`) `size_scale` The factor by which to scale the size of the points (`float`) `size_vmax` The maximum point size. `size_vmin` The minimum point size. `time_att` The column to use for time (`str`) `time_decay` How long a time series point takes to fade away after appearing (0 if never) (`Quantity`) `time_series` Whether the layer contains time series elements (`bool`) `x_att` The column to use for the x coordinate `xyz_unit` The units to use for the x/y/z positions `y_att` The column to use for the y coordinate `z_att` The column to use for the z coordinate

Methods Summary

 Remove the layer. `update_data`([table]) Update the underlying data.

Attributes Documentation

alt_att

The column to use for the altitude (`str`)

alt_type

The type of altitude (`str`)

alt_unit

The units to use for the altitude (`Unit`)

cmap

The Matplotlib colormap (`matplotlib.colors.ListedColormap`)

cmap_att

The column to use for the colormap (`str`)

cmap_vmax

The maximum level of the colormap. Found automagically once cmap_att is set (`float`)

cmap_vmin

The minimum level of the colormap. Found automagically once cmap_att is set (`float`)

color

The color of the markers (`str` or `tuple`)

coord_type

Whether to give the coordinates in spherical or rectangular coordinates

far_side_visible

Whether markers on the far side of a 3D object are visible (`bool`)

lat_att

The column to use for the latitude (`str`)

lon_att

The column to use for the longitude (`str`)

lon_unit

The units to use for longitude (`Unit`)

marker_scale

Whether the scale is defined in world or pixel coordinates (`str`)

marker_type

The type of marker (`str`)

opacity

The opacity of the markers (`str`)

size_att

The column to use for the marker size (`str`)

size_scale

The factor by which to scale the size of the points (`float`)

size_vmax

The maximum point size. Found automagically once size_att is set (`float`)

size_vmin

The minimum point size. Found automagically once size_att is set (`float`)

time_att

The column to use for time (`str`)

time_decay

How long a time series point takes to fade away after appearing (0 if never) (`Quantity`)

time_series

Whether the layer contains time series elements (`bool`)

x_att

The column to use for the x coordinate

xyz_unit

The units to use for the x/y/z positions

y_att

The column to use for the y coordinate

z_att

The column to use for the z coordinate

Methods Documentation

remove()[source]

Remove the layer.

update_data(table=None)[source]

Update the underlying data.
{"ft_lang_label":"__label__en","ft_lang_prob":0.51908535,"math_prob":0.81704235,"size":1802,"snap":"2022-40-2023-06","text_gpt3_token_len":416,"char_repetition_ratio":0.23637375,"word_repetition_ratio":0.25723472,"special_character_ratio":0.22031076,"punctuation_ratio":0.04416404,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9599261,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-02T16:45:27Z\",\"WARC-Record-ID\":\"<urn:uuid:b3c7cdc2-41c2-4dfb-93b9-8e56854b0a5a>\",\"Content-Length\":\"37957\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:fa1b2f72-9c05-4492-9b9c-30d9b83b441d>\",\"WARC-Concurrent-To\":\"<urn:uuid:a6d5eef8-01c7-4662-a6d2-dd2ca93c814f>\",\"WARC-IP-Address\":\"104.17.32.82\",\"WARC-Target-URI\":\"https://pywwt.readthedocs.io/en/latest/api/pywwt.layers.TableLayer.html\",\"WARC-Payload-Digest\":\"sha1:FEGSZZLPKZAN6OU36DECAS5FDXXDXXZ5\",\"WARC-Block-Digest\":\"sha1:OVLW7ZZK4DBSGPC2LMMS7E3FCHO5RB5J\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337338.11_warc_CC-MAIN-20221002150039-20221002180039-00066.warc.gz\"}"}