mirror of
https://codeberg.org/Yael-II/Matplotlib-Style.git
synced 2026-03-15 05:46:26 +01:00
update
This commit is contained in:
18
yii_test.py
Normal file
18
yii_test.py
Normal file
@@ -0,0 +1,18 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user