TableMixin#

class jdaviz.core.template_mixin.TableMixin(**kwargs: Any)[source]#

Bases: VuetifyTemplate, HubListener

Table subcomponent mixin.

In addition to table, this provides the following methods at the plugin-level:

To render in the plugin’s vue file:

<jupyter-widget :widget="table_widget"></jupyter-widget>

Public constructor

Attributes Summary

table_widget

A trait for unicode strings.

Methods Summary

clear_table()

Clear all entries/markers from the current table.

export_table([filename, overwrite])

Export the QTable representation of the table.

vue_clear_table([data])

Attributes Documentation

table_widget#

A trait for unicode strings.

Methods Documentation

clear_table()[source]#

Clear all entries/markers from the current table.

export_table(filename=None, overwrite=False)[source]#

Export the QTable representation of the table.

Parameters:
filenamestr, optional

If provided, will write to the file, otherwise will just return the QTable object.

overwritebool, optional

If filename already exists, should it be overwritten.

vue_clear_table(data=None)[source]#