Created
March 22, 2020 10:05
-
-
Save qmaruf/ee3818e7857beb7568bf7e915077df70 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
import matplotlib.pyplot as plt | |
SMALL_SIZE = 15 | |
MEDIUM_SIZE = 15 | |
BIGGER_SIZE = 15 | |
plt.rc('font', size=BIGGER_SIZE) # controls default text sizes | |
plt.rc('axes', titlesize=SMALL_SIZE) # fontsize of the axes title | |
plt.rc('axes', labelsize=MEDIUM_SIZE) # fontsize of the x and y labels | |
plt.rc('xtick', labelsize=SMALL_SIZE) # fontsize of the tick labels | |
plt.rc('ytick', labelsize=SMALL_SIZE) # fontsize of the tick labels | |
plt.rc('legend', fontsize=SMALL_SIZE) # legend fontsize | |
plt.rc('figure', titlesize=BIGGER_SIZE) # fontsize of the figure title | |
%matplotlib inline | |
# source https://stackoverflow.com/a/39566040/848930 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment