VizClient¶
-
class
glue.viewers.common.viz_client.
VizClient
(data, options=None)[source]¶ Bases:
glue.core.client.Client
The VizClient class provides an interface (and minimal implementation) for a generic client that creates visualizations. The goal of VizClient is to provide a reusable way to organize client plotting code.
Clients which extend VizClient should override the following methods to perform specific visualization tasks
- _update_axis_labels
- _update_data_plot
- _update_subset_single
- _redraw
- init_layer
VizClient provides a public refresh() method that calls all of these methods.
Attributes
options: A dictionary of global plot options, to be handled by subclasses. Methods Summary
init_layer
(layer)Initialize a plot of a data or subset object for the first time. refresh
()Update and redraw all plot information. Methods Documentation