-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplotting.py
More file actions
22 lines (16 loc) · 806 Bytes
/
Copy pathplotting.py
File metadata and controls
22 lines (16 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# STYLE -----------------------------------------------------------------------
import matplotlib.pyplot as plt
from dissutils import FONTSIZE, LARGE_FIGURE_WIDTH
plt.rcParams["figure.figsize"] = (LARGE_FIGURE_WIDTH, LARGE_FIGURE_WIDTH)
plt.rcParams["font.family"] = "sans-serif"
plt.rcParams["font.sans-serif"] = "Source Sans 3"
plt.rcParams["font.monospace"] = "Monoid"
plt.rcParams["font.size"] = FONTSIZE
plt.rcParams["savefig.pad_inches"] = 0.0
# WARNINGS --------------------------------------------------------------------
import warnings
import numpy
warnings.filterwarnings("ignore", category=UserWarning, module="iris*")
warnings.filterwarnings("ignore", category=RuntimeWarning)
numpy.seterr(divide="ignore")
# PLOT ------------------------------------------------------------------------