Skip to content

Instantly share code, notes, and snippets.

@moyocoyani
Created December 3, 2020 23:47
Show Gist options
  • Select an option

  • Save moyocoyani/1f3a275006e736f1c1b39dbb7b026edb to your computer and use it in GitHub Desktop.

Select an option

Save moyocoyani/1f3a275006e736f1c1b39dbb7b026edb to your computer and use it in GitHub Desktop.
formating the text elements
#Text elements---------------------------------------------
#Title format
mpl.rcParams["figure.titlesize"] = 22
mpl.rcParams["figure.titleweight"] = "regular"
#Subtitle format
mpl.rcParams["axes.titlesize"] = 18
mpl.rcParams["axes.titlelocation"]="left"
mpl.rcParams['axes.titleweight'] = "regular"
mpl.rcParams['axes.titlecolor']= '#7F7F7F'
mpl.rcParams['axes.titlelocation']= 'left'
#Other text elements
mpl.rcParams['font.weight'] = "medium"
mpl.rcParams['font.size'] = 14
mpl.rcParams['text.color'] = "#7F7F7F"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment