graphVisual
¶
Module Contents¶
-
class
GraphVisual
(theWidgetGraphVisual)[source]¶ Provide an interface to a graph. A graph contains traces.
-
set_fontTicks
(self, fontSize, fontname=None)[source]¶ Set font of the ticks
- Parameters
fontSize – Size of the font
fontname – Name of the font
-
set_numberTicks
(self, number, axis)[source]¶ Set the number of ticks to be displayed
- Parameters
number – Number of ticks for the axis
axis – Axis (string, “bottom”, “left”, “right”, “top”)
- Returns
-
set_fontLabel
(self, fontSize, color='#000', fontname=None)[source]¶ Set font of the axis labels
- Parameters
fontSize – font size
color – color in hexadecimal (str)
fontname – name of the font
-
get_axis
(self, axis)[source]¶ Get the axis
- Parameters
axis – Axis (string, “bottom”, “left”, “right”, “top”)
- Returns
axis object
-
set_graph_properties
(self, theTrace)[source]¶ This function is automatically called on creation of the graph
-
set_lims
(self, xlim, ylim)[source]¶ Set limits of the graphs, xlim or ylim = [val_low, val_high]. Or None.
-
set_title
(self, titleName, **kwargs)[source]¶ Set title of the graph
- Parameters
titleName – title to set
-
linkXToGraph
(self, graph)[source]¶ Link the axis of the current graph to an other
GraphVisual
-