MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / PyplotBoxPlot

Function PyplotBoxPlot

DemoPrograms/Demo_Matplotlib_Browser.py:410–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408 return fig
409
410def PyplotBoxPlot():
411 import numpy as np
412 import matplotlib.pyplot as plt
413
414 # Fixing random state for reproducibility
415 np.random.seed(19680801)
416
417 # fake up some data
418 spread = np.random.rand(50) * 100
419 center = np.ones(25) * 50
420 flier_high = np.random.rand(10) * 100 + 100
421 flier_low = np.random.rand(10) * -100
422 data = np.concatenate((spread, center, flier_high, flier_low), 0)
423 fig1, ax1 = plt.subplots()
424 ax1.set_title('Basic Plot')
425 ax1.boxplot(data)
426 return fig1
427
428def PyplotRadarChart():
429 import numpy as np

Callers

nothing calls this directly

Calls 1

set_titleMethod · 0.80

Tested by

no test coverage detected