Skip to content

Commit

Permalink
tick size and width
Browse files Browse the repository at this point in the history
  • Loading branch information
Jue-Xu committed Sep 25, 2024
1 parent fc2988d commit d0e375f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions quantum_simulation_recipe/plot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ def set_fontsize(small=SMALL_SIZE, medium=MEDIUM_SIZE, large=LARGE_SIZE, linewid
mpl.rcParams['lines.markersize'] = small

mpl.rcParams['axes.linewidth'] = linewidth
mpl.rcParams['xtick.major.size'] = linewidth+3
mpl.rcParams['xtick.minor.size'] = linewidth+1
mpl.rcParams['ytick.major.size'] = linewidth+3
mpl.rcParams['ytick.minor.size'] = linewidth+1
mpl.rcParams['xtick.major.width'] = linewidth
mpl.rcParams['xtick.minor.width'] = linewidth
mpl.rcParams['ytick.major.width'] = linewidth
mpl.rcParams['ytick.minor.width'] = linewidth
mpl.rcParams['lines.linewidth'] = linewidth+0.5
Expand Down

0 comments on commit d0e375f

Please sign in to comment.