grapa.curve_subplot.Curve_Subplot
- class grapa.curve_subplot.Curve_Subplot(*args, **kwargs)
Bases:
CurveCurve_Subplot provides GUI support to handle subplots within a Graph. The main graph will be subdivised in an array of subplots.
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)funcListGUI(**kwargs)Fills in the Curve actions specific to the Curve type. Retuns a list, which elements are instances of FuncGUI, or (old style): ::.
Prints help for the Curve subclass, generated from docstrings.
update_spa_figsize_abs(panelsize, margin[, ...])Updates the subplots_adjustupdate and figsize, based on margins and panelsize CAUTION: modifies object graph
update_spu(*args, **_kwargs)updates the subplotupdate, carrying information to the subplot
Attributes
CURVESPUKEYS- funcListGUI(**kwargs)
Fills in the Curve actions specific to the Curve type. Retuns a list, which elements are instances of FuncGUI, or (old style):
[func, 'Button text', ['label 1', 'label 2', ...], ['value 1', 'value 2', ...], {'hiddenvar1': 'value1', ...}, (optional) [dictFieldAttributes, {}, ...]] (optional)
By default, returns quick modifs for offset and muloffset (if already set), and a help for some plot types (errorbar, scatter).
- Parameters:
kwargs – this function should be called specifying kwargs[‘graph’] the graph self is embedded in, and kwargs[‘graph_i’] as position of self in graph.
- print_help()
Prints help for the Curve subclass, generated from docstrings.
- update_spa_figsize_abs(panelsize, margin, ncols=2, nrows=2, graph: Graph | None = None, **_kwargs)
Updates the subplots_adjustupdate and figsize, based on margins and panelsize CAUTION: modifies object graph
- update_spu(*args, **_kwargs)
updates the subplotupdate, carrying information to the subplot