mirror of
https://codeberg.org/Yael-II/Matplotlib-Style.git
synced 2026-03-15 05:46:26 +01:00
19 lines
236 B
Python
19 lines
236 B
Python
import matplotlib.pyplot as plt
|
|
|
|
|
|
def test_colors():
|
|
x = range(10)
|
|
y = [1]*10
|
|
fig, ax = plt.subplots(1)
|
|
for i in x:
|
|
ax.scatter(x[i],y[i], s=100)
|
|
|
|
|
|
test_colors()
|
|
|
|
plt.style.use("YII_1")
|
|
|
|
test_colors()
|
|
|
|
plt.show()
|