Created
September 16, 2021 15:53
-
-
Save h3ik0th/cd02ba6f3501836ae99d371f6c6fb30a 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 Tyrion and Cersei's fame: | |
ax = df["Tyrion"].plot(color="blue", label="Tyrion", legend=True, title="Tyrion & Cersei", figsize=(12,6)) | |
df["Cersei"].plot(color="red", label="Cersei", style="-", legend=True, ax=ax) | |
ax.autoscale(axis="x",tight=True) | |
ax.set(xlabel="week", ylabel="fame") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment