psy_simple.widgets package

Module for PyQt4/PyQt5 widgets for modifying the formatoptions

This module contains widgets that are inserted in the psyplot GUI. Submodules are

Classes:

Switch2FmtButton(parent, *fmtos)

A button that contains a menu to switch to other formatoptions

Functions:

get_icon(fname[, ending])

class psy_simple.widgets.Switch2FmtButton(parent, *fmtos)[source]

Bases: PyQt5.QtWidgets.QToolButton

A button that contains a menu to switch to other formatoptions

Parameters
  • parent (psyplot_gui.fmt_widget.FormatoptionWidget) – The formatoption widget that contains the button

  • *fmtos – Instances of the psyplot.plotter.Formatoption for which the links should be created

psy_simple.widgets.get_icon(fname, ending='.png')[source]

Submodules