October 2018
Beginner to intermediate
676 pages
18h 30m
English
The following code block draws five different plots to demonstrate most of the possible combinations for specifying the colors, line styles, and markers:
fig = plt.figure(figsize=(12,6))
ax1 = plt.subplot(321)ax2 = plt.subplot(322)ax3 = plt.subplot(323)ax4 = plt.subplot(324)ax5 = plt.subplot(325)ax6 = plt.subplot(326)
x = np.linspace(0, 10, 20)
Read now
Unlock full access