MatplotlibDataViewerState¶

class glue.viewers.matplotlib.state.MatplotlibDataViewerState(**kwargs)[source]

A base class that includes common attributes for viewers based on Matplotlib.

Attributes Summary

 aspect Aspect ratio for the axes layers A collection of all layers in the viewer layers_data x_log Whether the x axis is logarithmic x_max Upper limit of the visible x range x_min Lower limit of the visible x range y_log Whether the y axis is logarithmic y_max Upper limit of the visible y range y_min Lower limit of the visible y range

Attributes Documentation

aspect

Aspect ratio for the axes

layers

A collection of all layers in the viewer

layers_data[source]
x_log

Whether the x axis is logarithmic

x_max

Upper limit of the visible x range

x_min

Lower limit of the visible x range

y_log

Whether the y axis is logarithmic

y_max

Upper limit of the visible y range

y_min

Lower limit of the visible y range