Created
January 1, 2021 07:32
-
-
Save Park-Developer/10890eafef84cf94197d1bf2e8937e16 to your computer and use it in GitHub Desktop.
matplotlib : plot range setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
plt.plot([1, 2, 3, 4], [1, 4, 9, 16]) | |
plt.xlabel('X-Label') | |
plt.ylabel('Y-Label') | |
plt.axis([0, 5, 0, 20]) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment