Created
May 6, 2019 13:20
-
-
Save DeastinY/49700c6d884fb5cfbe547940fdc89832 to your computer and use it in GitHub Desktop.
Basic, common style ASIC plot guide
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
width, height = 18, 14 | |
plt.figure() | |
mydata.plot.bar(color='C0', figsize=(width, height)) | |
ax = plt.gca() | |
ax.set_title("Title", size=28) | |
ax.set_ylabel("YLabel", size=24) | |
ax.set_xlabel("XLabel", size=24) | |
ax.grid(True) | |
ax.tick_params(axis="both", which="major", labelsize=18) | |
plt.tight_layout() | |
plt.show() | |
plt.savefig("myplot.png", transparent=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment