Created
July 12, 2021 12:08
-
-
Save quantra-go-algo/b7a834802a177a6626b6d43fa3fe8d93 to your computer and use it in GitHub Desktop.
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
# Plot all the close prices | |
data.plot(figsize=(10, 7)) | |
# Show the legend | |
plt.legend() | |
# Define the label for the title of the figure | |
plt.title("Adjusted Close Price", fontsize=16) | |
# Define the labels for x-axis and y-axis | |
plt.ylabel('Price', fontsize=14) | |
plt.xlabel('Year', fontsize=14) | |
# Plot the grid lines | |
plt.grid(which="major", color='k', linestyle='-.', linewidth=0.5) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment