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

Function PyplotSimple

DemoPrograms/Demo_Matplotlib_Browser_Paned.py:27–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def PyplotSimple():
28 import numpy as np
29 import matplotlib.pyplot as plt
30
31 # evenly sampled time at 200ms intervals
32 t = np.arange(0., 5., 0.2)
33
34 # red dashes, blue squares and green triangles
35 plt.plot(t, t, 'r--', t, t ** 2, 'bs', t, t ** 3, 'g^')
36
37 fig = plt.gcf() # get the figure to show
38 return fig
39
40
41def PyplotHistogram():

Callers

nothing calls this directly

Calls 1

plotMethod · 0.45

Tested by

no test coverage detected