Skip to content

Commit

Permalink
Create matplotlib_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 20, 2024
1 parent b075ea0 commit 925b1c9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions data/matplotlib_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import matplotlib as mpl

# Set matplotlib backend
mpl.use('TkAgg')

# Set matplotlib style
mpl.style.use('seaborn-whitegrid')

# Set plot font sizes
mpl.rcParams['font.size'] = 12
mpl.rcParams['axes.labelsize'] = 14
mpl.rcParams['xtick.labelsize'] = 12
mpl.rcParams['ytick.labelsize'] = 12

# Set plot colors
mpl.rcParams['axes.facecolor'] = 'white'
mpl.rcParams['axes.edgecolor'] = 'black'
mpl.rcParams['axes.labelcolor'] = 'black'
mpl.rcParams['xtick.color'] = 'black'
mpl.rcParams['ytick.color'] = 'black'

0 comments on commit 925b1c9

Please sign in to comment.