plotpy.styles¶
The styles module provides set of parameters (DataSet classes) to configure plot items and plot tools.
See also
- Module
plotpy.plot - Module providing ready-to-use curve and image plotting widgets and dialog boxes
- Module
plotpy.curve - Module providing curve-related plot items and plotting widgets
- Module
plotpy.image - Module providing image-related plot items and plotting widgets
- Module
plotpy.tools - Module providing the plot tools
Reference¶
-
class
plotpy.styles.CurveParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.ErrorBarParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.GridParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.ImageParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.TrImageParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.ImageFilterParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.HistogramParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.Histogram2DParam(title=None, comment=None, icon='')[source]¶ Histogram
-
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.AxesParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.ImageAxesParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.LabelParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.LegendParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.ShapeParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.AnnotationParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.AxesShapeParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.RangeShapeParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.MarkerParam(title=None, comment=None, icon='')[source]¶ -
set_markerstyle(style)[source]¶ Set marker line style
style:
- convenient values: ‘+’, ‘-‘, ‘|’ or None
- QwtPlotMarker.NoLine, QwtPlotMarker.Vertical, ...
-
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.FontParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.SymbolParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.LineStyleParam(title=None, comment=None, icon='')[source]¶ -
set_style_from_matlab(linestyle)[source]¶ Eventually convert MATLAB-like linestyle into Qt linestyle
-
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.BrushStyleParam(title=None, comment=None, icon='')[source]¶ -
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-
-
class
plotpy.styles.TextStyleParam(title=None, comment=None, icon='')[source]¶ -
-
accept(vis)¶ helper function that passes the visitor to the accept methods of all the items in this dataset
-
check()¶ Check the dataset item values
-
edit(parent=None, apply=None, size=None)¶ - Open a dialog box to edit data set
- parent: parent widget (default is None, meaning no parent)
- apply: apply callback (default is None)
- size: dialog size (QSize object or integer tuple (width, height))
-
get_comment()¶ Return data set comment
-
get_icon()¶ Return data set icon
-
get_title()¶ Return data set title
-
set_defaults()¶ Set default values
-
text_edit()¶ Edit data set with text input only
-
to_string(debug=False, indent=None, align=False)¶ Return readable string representation of the data set If debug is True, add more details on data items
-
view(parent=None, size=None)¶ - Open a dialog box to view data set
- parent: parent widget (default is None, meaning no parent)
- size: dialog size (QSize object or integer tuple (width, height))
-