Skip to content

matplotlib

import matplotlib.pyplot as plt

plt.figure(figsize=(20, 5), dpi=300)
plt.ylim(0, 100)


x = y = [0, 1, 2, 3]
plt.scatter(x, y)

plt.hist(arr, bins=1000, range=(mean - 2*std, mean + 2*std))

plt.gca().set(title=title)

Last update: January 27, 2022
Authors: Co1lin