MCPcopy Index your code
hub / github.com/plotly/plotly.py / open_figure

Method open_figure

plotly/matplotlylib/mplexporter/renderers/base.py:74–85  ·  view source on GitHub ↗

Begin commands for a particular figure. Parameters ---------- fig : matplotlib.Figure The Figure which will contain the ensuing axes and elements props : dictionary The dictionary of figure properties

(self, fig, props)

Source from the content-addressed store, hash-verified

72 # Following are the functions which should be overloaded in subclasses
73
74 def open_figure(self, fig, props):
75 """
76 Begin commands for a particular figure.
77
78 Parameters
79 ----------
80 fig : matplotlib.Figure
81 The Figure which will contain the ensuing axes and elements
82 props : dictionary
83 The dictionary of figure properties
84 """
85 pass
86
87 def close_figure(self, fig):
88 """

Callers 1

draw_figureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected