Skip to content

Commit 351639c

Browse files
committed
Add markers to basic plot image
1 parent 329e0ba commit 351639c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/basic-plots.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# Basic line plot
1919
# -----------------------------------------------------------------------------
20-
X = np.linspace(0, 10, 100)
20+
X = np.linspace(0, 10, 33)
2121
Y = 4+2*np.sin(2*X)
22-
ax.plot(X, Y, color="C1", linewidth=0.75)
22+
ax.plot(X, Y, "C1o-", linewidth=0.75)
2323
ax.set_xlim(0, 8), ax.set_xticks(np.arange(1,8))
2424
ax.set_ylim(0, 8), ax.set_yticks(np.arange(1,8))
2525
ax.grid(linewidth=0.125)

0 commit comments

Comments
 (0)