MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / create_figure

Function create_figure

DemoPrograms/Demo_Matplotlib_Styles.py:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73
74def create_figure():
75 # ------------------------------- START OF YOUR MATPLOTLIB CODE -------------------------------
76 fig = matplotlib.figure.Figure(figsize=(5, 4), dpi=100)
77 t = np.arange(0, 3, .01)
78 fig.add_subplot(111).plot(t, 2 * np.sin(2 * np.pi * t))
79
80 return fig
81
82
83def create_subplot_3d():

Callers

nothing calls this directly

Calls 1

plotMethod · 0.45

Tested by

no test coverage detected