Skip to content

figure module

Utilities for constructing and displaying figures.


get_domain function

get_domain(
    ref,
    fig
)

Get domain of a coordinate axis.


make_figure function

make_figure(
    *args,
    **kwargs
)

Make new figure.

Returns either Figure or FigureWidget, depending on use_widgets defined under plotting in settings.


make_subplots function

make_subplots(
    *args,
    **kwargs
)

Makes subplots and passes them to FigureWidget.


Figure class

Figure(
    *args,
    **kwargs
)

Figure.

Extends plotly.graph_objects.Figure.

Superclasses

  • FigureMixin
  • plotly.basedatatypes.BaseFigure
  • plotly.graph_objs._figure.Figure

Inherited members


show method

Figure.show(
    *args,
    **kwargs
)

Show the figure.


FigureMixin class

FigureMixin()

Subclasses


show method

FigureMixin.show(
    *args,
    **kwargs
)

Display the figure in PNG format.


show_png method

FigureMixin.show_png(
    **kwargs
)

Display the figure in PNG format.


show_svg method

FigureMixin.show_svg(
    **kwargs
)

Display the figure in SVG format.


FigureWidget class

FigureWidget(
    *args,
    **kwargs
)

Figure widget.

Extends plotly.graph_objects.FigureWidget.

Superclasses

  • FigureMixin
  • ipywidgets.widgets.domwidget.DOMWidget
  • ipywidgets.widgets.widget.LoggingHasTraits
  • ipywidgets.widgets.widget.Widget
  • plotly.basedatatypes.BaseFigure
  • plotly.basewidget.BaseFigureWidget
  • plotly.graph_objs._figurewidget.FigureWidget
  • traitlets.traitlets.HasDescriptors
  • traitlets.traitlets.HasTraits

Inherited members


show method

FigureWidget.show(
    *args,
    **kwargs
)

Show the figure.