myplotlib 1.4.0__tar.gz → 1.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {myplotlib-1.4.0 → myplotlib-1.6.0}/.gitignore +0 -1
- myplotlib-1.6.0/.taplo.toml +6 -0
- myplotlib-1.6.0/.vscode/extensions.json +8 -0
- myplotlib-1.6.0/.vscode/settings.json +7 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/PKG-INFO +42 -19
- myplotlib-1.6.0/README.md +81 -0
- myplotlib-1.6.0/myplotlib/__init__.py +76 -0
- myplotlib-1.6.0/myplotlib/assets/classic.dark.mplstyle +69 -0
- myplotlib-1.6.0/myplotlib/assets/classic.light.mplstyle +60 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/fancy.dark.mplstyle +20 -5
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/fancy.light.mplstyle +18 -4
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyComplexHeavy.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyComplexHeavyItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyComplexLight.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyComplexLightItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyComplexMedium.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyComplexMediumItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyDuplexHeavy.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyDuplexHeavyItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyDuplexLight.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyDuplexLightItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyDuplexMedium.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheyDuplexMediumItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheySimplexHeavy.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheySimplexHeavyItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheySimplexLight.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheySimplexLightItalic.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheySimplexMedium.ttf +0 -0
- myplotlib-1.6.0/myplotlib/assets/fonts/Hershey/AVHersheySimplexMediumItalic.ttf +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/mono.dark.mplstyle +4 -4
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/mono.light.mplstyle +3 -3
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/plots.py +113 -2
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/tests.py +13 -5
- myplotlib-1.6.0/previews/README.md +32 -0
- myplotlib-1.6.0/previews/classic_dark.png +0 -0
- myplotlib-1.6.0/previews/classic_light.png +0 -0
- myplotlib-1.6.0/previews/export_previews.py +30 -0
- myplotlib-1.6.0/previews/fancy_dark.png +0 -0
- myplotlib-1.6.0/previews/fancy_light.png +0 -0
- myplotlib-1.6.0/previews/latex.png +0 -0
- myplotlib-1.6.0/previews/mono_dark.png +0 -0
- myplotlib-1.6.0/previews/mono_light.png +0 -0
- myplotlib-1.6.0/previews/plain.png +0 -0
- myplotlib-1.6.0/pyproject.toml +44 -0
- myplotlib-1.6.0/shell.nix +45 -0
- myplotlib-1.4.0/README.md +0 -58
- myplotlib-1.4.0/myplotlib/__init__.py +0 -85
- myplotlib-1.4.0/myplotlib/assets/fonts/HersheyTex-Book.otf +0 -0
- myplotlib-1.4.0/myplotlib/assets/fonts/HersheyTex-Light.otf +0 -0
- myplotlib-1.4.0/myplotlib/assets/hershey.dark.mplstyle +0 -28
- myplotlib-1.4.0/myplotlib/assets/hershey.light.mplstyle +0 -21
- myplotlib-1.4.0/previews/None.jpg +0 -0
- myplotlib-1.4.0/previews/README.md +0 -28
- myplotlib-1.4.0/previews/export_previews.py +0 -29
- myplotlib-1.4.0/previews/fancy_dark.jpg +0 -0
- myplotlib-1.4.0/previews/fancy_light.jpg +0 -0
- myplotlib-1.4.0/previews/hershey_dark.jpg +0 -0
- myplotlib-1.4.0/previews/hershey_light.jpg +0 -0
- myplotlib-1.4.0/previews/mono_dark.jpg +0 -0
- myplotlib-1.4.0/previews/mono_light.jpg +0 -0
- myplotlib-1.4.0/pyproject.toml +0 -40
- {myplotlib-1.4.0 → myplotlib-1.6.0}/.github/workflows/pypi-publish.yml +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/LICENSE +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/MANIFEST.in +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/bipolar.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/colt.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/fire.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/idl.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/sunrise.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/thermal.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/colormaps/vanilla.csv +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/fonts/AppleChancery.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-Bold.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-BoldItalic.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-ExtraBold.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-ExtraBoldItalic.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-Italic.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-Medium.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-MediumItalic.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-Regular.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-SemiBold.ttf +0 -0
- {myplotlib-1.4.0/myplotlib/assets/fonts → myplotlib-1.6.0/myplotlib/assets/fonts/EBGaramond}/EBGaramond-SemiBoldItalic.ttf +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/assets/latex.mplstyle +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/tools/__init__.py +0 -0
- {myplotlib-1.4.0 → myplotlib-1.6.0}/myplotlib/tools/lic.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: myplotlib
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.6.0
|
|
4
4
|
Summary: `matplotlib` binder with custom styles and routines for fast plotting
|
|
5
5
|
Project-URL: Repository, https://github.com/haykh/myplotlib
|
|
6
6
|
Author-email: Hayk <haykh.astro@gmail.com>
|
|
@@ -56,28 +56,45 @@ Description-Content-Type: text/markdown
|
|
|
56
56
|
|
|
57
57
|
`matplotlib` binder with custom styles and routines for fast plotting. see [previews of available styles](https://github.com/haykh/myplotlib/tree/master/previews#readme).
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
## installation
|
|
60
60
|
|
|
61
61
|
```shell
|
|
62
62
|
pip install myplotlib
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
## usage
|
|
66
|
+
|
|
67
|
+
### loading style, fonts & colormaps
|
|
66
68
|
|
|
67
69
|
```python
|
|
68
|
-
# initialize style:
|
|
69
70
|
import myplotlib
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
#
|
|
74
|
-
#
|
|
71
|
+
import matplotlib.pyplot as plt
|
|
72
|
+
|
|
73
|
+
plt.style.use(STYLE)
|
|
74
|
+
# STYLE can be:
|
|
75
|
+
# - fancy.dark, fancy.light
|
|
76
|
+
# - classic.dark, classic.light
|
|
77
|
+
# - mono.dark, mono.light
|
|
78
|
+
# - latex
|
|
79
|
+
|
|
80
|
+
# you may also combine the styles:
|
|
81
|
+
plt.style.use([STYLE1, STYLE2])
|
|
82
|
+
|
|
83
|
+
# and you can temporarily load the style:
|
|
84
|
+
with plt.style.context(STYLE):
|
|
85
|
+
plt.plot(...)
|
|
86
|
+
```
|
|
75
87
|
|
|
76
|
-
|
|
88
|
+
### auxiliary plotting functions
|
|
89
|
+
|
|
90
|
+
```python
|
|
77
91
|
import myplotlib.plots as myplt
|
|
78
92
|
# type for docstring:
|
|
79
93
|
myplt?
|
|
80
94
|
|
|
95
|
+
# for specific function:
|
|
96
|
+
myplt.plot2d?
|
|
97
|
+
|
|
81
98
|
# preview custom styles with built-in functions
|
|
82
99
|
import myplotlib.tests as mypltest
|
|
83
100
|
# type for docstring:
|
|
@@ -86,22 +103,28 @@ mypltest?
|
|
|
86
103
|
|
|
87
104
|
for more usage examples checkout the `tests/` submodule.
|
|
88
105
|
|
|
89
|
-
|
|
106
|
+
## requirements
|
|
90
107
|
|
|
91
108
|
* `python >= 3.8`
|
|
92
109
|
* `matplotlib >= 3.5.0`, `numpy`
|
|
93
|
-
* `latex` (used for `
|
|
110
|
+
* `latex` (used for `fancy` and `latex` only)
|
|
94
111
|
* `numba>=0.57.0`
|
|
95
112
|
|
|
96
|
-
|
|
113
|
+
## development
|
|
97
114
|
|
|
98
|
-
|
|
115
|
+
when deploying a new version, there are three necessary steps to take.
|
|
99
116
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
```
|
|
117
|
+
1. increase the version string in `myplotlib/__init__.py`.
|
|
118
|
+
2. generate the previews:
|
|
119
|
+
```sh
|
|
120
|
+
python3 previews/export_previews.py
|
|
121
|
+
```
|
|
122
|
+
3. build the new tarballs in the `dist` directory:
|
|
123
|
+
```sh
|
|
124
|
+
python -m build --sdist --outdir dist .
|
|
125
|
+
```
|
|
103
126
|
|
|
104
|
-
|
|
127
|
+
## To-do
|
|
105
128
|
|
|
106
129
|
- [ ] isocontour plotting
|
|
107
130
|
- [x] add streamplot for fieldline plotting
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# `myplotlib`
|
|
2
|
+
|
|
3
|
+
`matplotlib` binder with custom styles and routines for fast plotting. see [previews of available styles](https://github.com/haykh/myplotlib/tree/master/previews#readme).
|
|
4
|
+
|
|
5
|
+
## installation
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
pip install myplotlib
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## usage
|
|
12
|
+
|
|
13
|
+
### loading style, fonts & colormaps
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
import myplotlib
|
|
17
|
+
import matplotlib.pyplot as plt
|
|
18
|
+
|
|
19
|
+
plt.style.use(STYLE)
|
|
20
|
+
# STYLE can be:
|
|
21
|
+
# - fancy.dark, fancy.light
|
|
22
|
+
# - classic.dark, classic.light
|
|
23
|
+
# - mono.dark, mono.light
|
|
24
|
+
# - latex
|
|
25
|
+
|
|
26
|
+
# you may also combine the styles:
|
|
27
|
+
plt.style.use([STYLE1, STYLE2])
|
|
28
|
+
|
|
29
|
+
# and you can temporarily load the style:
|
|
30
|
+
with plt.style.context(STYLE):
|
|
31
|
+
plt.plot(...)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### auxiliary plotting functions
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
import myplotlib.plots as myplt
|
|
38
|
+
# type for docstring:
|
|
39
|
+
myplt?
|
|
40
|
+
|
|
41
|
+
# for specific function:
|
|
42
|
+
myplt.plot2d?
|
|
43
|
+
|
|
44
|
+
# preview custom styles with built-in functions
|
|
45
|
+
import myplotlib.tests as mypltest
|
|
46
|
+
# type for docstring:
|
|
47
|
+
mypltest?
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
for more usage examples checkout the `tests/` submodule.
|
|
51
|
+
|
|
52
|
+
## requirements
|
|
53
|
+
|
|
54
|
+
* `python >= 3.8`
|
|
55
|
+
* `matplotlib >= 3.5.0`, `numpy`
|
|
56
|
+
* `latex` (used for `fancy` and `latex` only)
|
|
57
|
+
* `numba>=0.57.0`
|
|
58
|
+
|
|
59
|
+
## development
|
|
60
|
+
|
|
61
|
+
when deploying a new version, there are three necessary steps to take.
|
|
62
|
+
|
|
63
|
+
1. increase the version string in `myplotlib/__init__.py`.
|
|
64
|
+
2. generate the previews:
|
|
65
|
+
```sh
|
|
66
|
+
python3 previews/export_previews.py
|
|
67
|
+
```
|
|
68
|
+
3. build the new tarballs in the `dist` directory:
|
|
69
|
+
```sh
|
|
70
|
+
python -m build --sdist --outdir dist .
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## To-do
|
|
74
|
+
|
|
75
|
+
- [ ] isocontour plotting
|
|
76
|
+
- [x] add streamplot for fieldline plotting
|
|
77
|
+
- [x] print all the newly added colormaps and the default color sequence
|
|
78
|
+
- [x] add a test plot for the demo
|
|
79
|
+
- [x] add image to readme
|
|
80
|
+
- [x] dark mode
|
|
81
|
+
- [x] monotype non-Latex mode
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
__version__ = "1.6.0"
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
import matplotlib.pyplot as plt
|
|
6
|
+
from matplotlib import font_manager
|
|
7
|
+
|
|
8
|
+
import myplotlib
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def __RGBToPyCmap(rgbdata):
|
|
12
|
+
import numpy as np
|
|
13
|
+
|
|
14
|
+
nsteps = rgbdata.shape[0]
|
|
15
|
+
stepaxis = np.linspace(0, 1, nsteps)
|
|
16
|
+
rdata = []
|
|
17
|
+
gdata = []
|
|
18
|
+
bdata = []
|
|
19
|
+
for istep in range(nsteps):
|
|
20
|
+
r = rgbdata[istep, 0]
|
|
21
|
+
g = rgbdata[istep, 1]
|
|
22
|
+
b = rgbdata[istep, 2]
|
|
23
|
+
rdata.append((stepaxis[istep], r, r))
|
|
24
|
+
gdata.append((stepaxis[istep], g, g))
|
|
25
|
+
bdata.append((stepaxis[istep], b, b))
|
|
26
|
+
mpl_data = {"red": rdata, "green": gdata, "blue": bdata}
|
|
27
|
+
return mpl_data
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
CUSTOM_CMAPS = []
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def __InstallCmapFromCSV(csv):
|
|
34
|
+
global CUSTOM_CMAPS
|
|
35
|
+
import os
|
|
36
|
+
import numpy as np
|
|
37
|
+
import matplotlib as mpl
|
|
38
|
+
|
|
39
|
+
cmap = os.path.splitext(os.path.basename(csv))[0]
|
|
40
|
+
cmap_data = np.loadtxt(csv, delimiter=",")
|
|
41
|
+
if cmap not in mpl.colormaps.keys():
|
|
42
|
+
CUSTOM_CMAPS.append(cmap)
|
|
43
|
+
mpl_data = __RGBToPyCmap(cmap_data)
|
|
44
|
+
mpl.colormaps.register(
|
|
45
|
+
cmap=mpl.colors.LinearSegmentedColormap(cmap, mpl_data, cmap_data.shape[0])
|
|
46
|
+
)
|
|
47
|
+
cmap = f"{cmap}_r"
|
|
48
|
+
if cmap not in mpl.colormaps.keys():
|
|
49
|
+
mpl_data_r = __RGBToPyCmap(cmap_data[::-1, :])
|
|
50
|
+
mpl.colormaps.register(
|
|
51
|
+
cmap=mpl.colors.LinearSegmentedColormap(
|
|
52
|
+
cmap, mpl_data_r, cmap_data.shape[0]
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
myplotlib_path = myplotlib.__path__[0]
|
|
58
|
+
styles_path = os.path.join(myplotlib_path, "assets")
|
|
59
|
+
|
|
60
|
+
stylesheets = {}
|
|
61
|
+
for folder, _, _ in os.walk(styles_path):
|
|
62
|
+
new_stylesheets = plt.style.core.read_style_directory(folder)
|
|
63
|
+
stylesheets.update(new_stylesheets)
|
|
64
|
+
|
|
65
|
+
plt.style.core.update_nested_dict(plt.style.library, stylesheets)
|
|
66
|
+
plt.style.core.available[:] = sorted(plt.style.library.keys())
|
|
67
|
+
|
|
68
|
+
CMAP_DIR = os.path.join(myplotlib_path, "assets/colormaps")
|
|
69
|
+
CMAPS = os.listdir(CMAP_DIR)
|
|
70
|
+
for cmap in CMAPS:
|
|
71
|
+
cmapname = os.path.join(CMAP_DIR, cmap)
|
|
72
|
+
__InstallCmapFromCSV(cmapname)
|
|
73
|
+
FONT_DIR = os.path.join(myplotlib_path, "assets/fonts")
|
|
74
|
+
font_files = font_manager.findSystemFonts(fontpaths=[FONT_DIR])
|
|
75
|
+
for font_file in font_files:
|
|
76
|
+
font_manager.fontManager.addfont(font_file)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
axes.prop_cycle: cycler("color", ["FFFFFF", "FF5555", "5555FF", "55FF55", "FF55FF", "55FFFF", "FFFF55", "AAAAAA"])
|
|
2
|
+
figure.dpi: 150
|
|
3
|
+
|
|
4
|
+
# Set x axis
|
|
5
|
+
xtick.direction: in
|
|
6
|
+
xtick.major.size: 6.0
|
|
7
|
+
# xtick.major.width: 1.5
|
|
8
|
+
xtick.major.pad: 5
|
|
9
|
+
xtick.minor.size: 4
|
|
10
|
+
xtick.minor.visible: True
|
|
11
|
+
xtick.top: True
|
|
12
|
+
|
|
13
|
+
# Set y axis
|
|
14
|
+
ytick.direction: in
|
|
15
|
+
ytick.major.size: 6.0
|
|
16
|
+
# ytick.major.width: 1.5
|
|
17
|
+
ytick.major.pad: 5
|
|
18
|
+
# ytick.minor.size: 4
|
|
19
|
+
ytick.minor.visible: True
|
|
20
|
+
ytick.right: True
|
|
21
|
+
|
|
22
|
+
# Remove legend frame
|
|
23
|
+
legend.frameon: False
|
|
24
|
+
|
|
25
|
+
# Always save as 'tight'
|
|
26
|
+
savefig.bbox: tight
|
|
27
|
+
savefig.pad_inches: 0.05
|
|
28
|
+
|
|
29
|
+
#axes.labelweight : normal
|
|
30
|
+
axes.labelsize: 16
|
|
31
|
+
|
|
32
|
+
grid.alpha: 0.2
|
|
33
|
+
|
|
34
|
+
# tex
|
|
35
|
+
text.usetex: False
|
|
36
|
+
|
|
37
|
+
# fonts
|
|
38
|
+
font.weight: 500
|
|
39
|
+
font.size: 16
|
|
40
|
+
|
|
41
|
+
font.serif: AVHershey Complex
|
|
42
|
+
font.sans-serif: AVHershey Duplex
|
|
43
|
+
font.monospace: AVHershey Complex
|
|
44
|
+
|
|
45
|
+
font.family: serif
|
|
46
|
+
|
|
47
|
+
mathtext.fontset: custom
|
|
48
|
+
mathtext.default: it
|
|
49
|
+
mathtext.rm: AVHershey Complex:medium
|
|
50
|
+
mathtext.it: AVHershey Complex:medium:italic
|
|
51
|
+
mathtext.bf: AVHershey Complex:heavy
|
|
52
|
+
mathtext.sf: AVHershey Duplex:medium
|
|
53
|
+
mathtext.tt: AVHershey Complex:light
|
|
54
|
+
|
|
55
|
+
mathtext.fallback: None
|
|
56
|
+
|
|
57
|
+
axes.formatter.use_mathtext: True
|
|
58
|
+
|
|
59
|
+
ps.fonttype: 42
|
|
60
|
+
pdf.fonttype: 42
|
|
61
|
+
|
|
62
|
+
figure.facecolor: 0d1117
|
|
63
|
+
axes.facecolor: none
|
|
64
|
+
axes.edgecolor: white
|
|
65
|
+
axes.labelcolor: white
|
|
66
|
+
xtick.color: white
|
|
67
|
+
ytick.color: white
|
|
68
|
+
patch.edgecolor: white
|
|
69
|
+
text.color: white
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
axes.prop_cycle: cycler("color", ["000000", "AA0000", "0000AA", "00AA00", "AA00AA", "00AAAA", "AA5500", "AAAAAA"])
|
|
2
|
+
figure.dpi: 150
|
|
3
|
+
|
|
4
|
+
# Set x axis
|
|
5
|
+
xtick.direction: in
|
|
6
|
+
xtick.major.size: 6.0
|
|
7
|
+
# xtick.major.width: 1.5
|
|
8
|
+
xtick.major.pad: 5
|
|
9
|
+
xtick.minor.size: 4
|
|
10
|
+
xtick.minor.visible: True
|
|
11
|
+
xtick.top: True
|
|
12
|
+
|
|
13
|
+
# Set y axis
|
|
14
|
+
ytick.direction: in
|
|
15
|
+
ytick.major.size: 6.0
|
|
16
|
+
# ytick.major.width: 1.5
|
|
17
|
+
ytick.major.pad: 5
|
|
18
|
+
# ytick.minor.size: 4
|
|
19
|
+
ytick.minor.visible: True
|
|
20
|
+
ytick.right: True
|
|
21
|
+
|
|
22
|
+
# Remove legend frame
|
|
23
|
+
legend.frameon: False
|
|
24
|
+
|
|
25
|
+
# Always save as 'tight'
|
|
26
|
+
savefig.bbox: tight
|
|
27
|
+
savefig.pad_inches: 0.05
|
|
28
|
+
|
|
29
|
+
#axes.labelweight : normal
|
|
30
|
+
axes.labelsize: 14
|
|
31
|
+
|
|
32
|
+
grid.alpha: 0.2
|
|
33
|
+
|
|
34
|
+
# tex
|
|
35
|
+
text.usetex: False
|
|
36
|
+
|
|
37
|
+
# fonts
|
|
38
|
+
font.weight: 500
|
|
39
|
+
font.size: 16
|
|
40
|
+
|
|
41
|
+
font.serif: AVHershey Complex
|
|
42
|
+
font.sans-serif: AVHershey Duplex
|
|
43
|
+
font.monospace: AVHershey Complex
|
|
44
|
+
|
|
45
|
+
font.family: serif
|
|
46
|
+
|
|
47
|
+
mathtext.fontset: custom
|
|
48
|
+
mathtext.default: it
|
|
49
|
+
mathtext.rm: AVHershey Complex:medium
|
|
50
|
+
mathtext.it: AVHershey Complex:medium:italic
|
|
51
|
+
mathtext.bf: AVHershey Complex:heavy
|
|
52
|
+
mathtext.sf: AVHershey Duplex:medium
|
|
53
|
+
mathtext.tt: AVHershey Complex:light
|
|
54
|
+
|
|
55
|
+
mathtext.fallback: None
|
|
56
|
+
|
|
57
|
+
axes.formatter.use_mathtext: True
|
|
58
|
+
|
|
59
|
+
ps.fonttype: 42
|
|
60
|
+
pdf.fonttype: 42
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
axes.prop_cycle: cycler('color', ["8bc6e4","f48a7c","3af899","fccd88","be9ac1","7d8c80","e95d7c","2688e3"])
|
|
1
2
|
figure.dpi: 150
|
|
3
|
+
|
|
2
4
|
axes.axisbelow: True
|
|
3
5
|
axes.grid: False
|
|
4
6
|
grid.linewidth: 0.2
|
|
@@ -6,20 +8,33 @@ xtick.direction: out
|
|
|
6
8
|
ytick.direction: out
|
|
7
9
|
grid.alpha: 0.2
|
|
8
10
|
|
|
11
|
+
axes.labelsize: 16
|
|
12
|
+
|
|
13
|
+
# tex
|
|
9
14
|
text.usetex: True
|
|
10
15
|
text.latex.preamble: \usepackage{amsmath,bm,xcolor,ebgaramond-maths}
|
|
11
16
|
|
|
12
|
-
|
|
17
|
+
#fonts
|
|
18
|
+
font.size: 14
|
|
19
|
+
|
|
20
|
+
font.serif: EB Garamond
|
|
21
|
+
font.sans-serif: EB Garamond
|
|
22
|
+
font.monospace: EB Garamond
|
|
23
|
+
|
|
24
|
+
font.family: serif
|
|
25
|
+
|
|
26
|
+
# font.family: EB Garamond
|
|
13
27
|
mathtext.fontset: custom
|
|
28
|
+
mathtext.default: it
|
|
14
29
|
mathtext.rm: EB Garamond
|
|
15
30
|
mathtext.it: EB Garamond:italic
|
|
16
31
|
mathtext.bf: EB Garamond:bold
|
|
17
|
-
|
|
18
|
-
|
|
32
|
+
mathtext.sf: EB Garamond:medium
|
|
33
|
+
mathtext.tt: EB Garamond:light
|
|
19
34
|
|
|
20
35
|
# dark properties
|
|
21
|
-
figure.facecolor:
|
|
22
|
-
axes.facecolor:
|
|
36
|
+
figure.facecolor: 0d1117
|
|
37
|
+
axes.facecolor: none
|
|
23
38
|
axes.edgecolor: white
|
|
24
39
|
axes.labelcolor: white
|
|
25
40
|
xtick.color: white
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
axes.prop_cycle: cycler('color', ["389ed0","ef5946","06b15c","fab54e","9d67a2","545e56","e22850","0d3b66"])
|
|
2
|
+
|
|
2
3
|
axes.axisbelow: True
|
|
3
4
|
axes.grid: False
|
|
4
5
|
grid.linewidth: 0.2
|
|
@@ -6,13 +7,26 @@ xtick.direction: out
|
|
|
6
7
|
ytick.direction: out
|
|
7
8
|
grid.alpha: 0.2
|
|
8
9
|
|
|
10
|
+
axes.labelsize: 16
|
|
11
|
+
|
|
12
|
+
# tex
|
|
9
13
|
text.usetex: True
|
|
10
14
|
text.latex.preamble: \usepackage{amsmath,bm,xcolor,ebgaramond-maths}
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
#fonts
|
|
17
|
+
font.size: 14
|
|
18
|
+
|
|
19
|
+
font.serif: EB Garamond
|
|
20
|
+
font.sans-serif: EB Garamond
|
|
21
|
+
font.monospace: EB Garamond
|
|
22
|
+
|
|
23
|
+
font.family: serif
|
|
24
|
+
|
|
25
|
+
# font.family: EB Garamond
|
|
13
26
|
mathtext.fontset: custom
|
|
27
|
+
mathtext.default: it
|
|
14
28
|
mathtext.rm: EB Garamond
|
|
15
29
|
mathtext.it: EB Garamond:italic
|
|
16
30
|
mathtext.bf: EB Garamond:bold
|
|
17
|
-
|
|
18
|
-
|
|
31
|
+
mathtext.sf: EB Garamond:medium
|
|
32
|
+
mathtext.tt: EB Garamond:light
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
axes.prop_cycle: cycler('color', ["8bc6e4","f48a7c","3af899","fccd88","be9ac1","7d8c80","e95d7c","2688e3"])
|
|
2
|
+
|
|
1
3
|
figure.dpi: 150
|
|
2
4
|
axes.axisbelow: True
|
|
3
5
|
axes.grid: False
|
|
@@ -8,11 +10,9 @@ grid.alpha: 0.2
|
|
|
8
10
|
|
|
9
11
|
font.family: monospace
|
|
10
12
|
|
|
11
|
-
axes.prop_cycle: cycler('color', ["8bc6e4","f48a7c","3af899","fccd88","be9ac1","7d8c80","e95d7c","2688e3"])
|
|
12
|
-
|
|
13
13
|
# dark properties
|
|
14
|
-
figure.facecolor:
|
|
15
|
-
axes.facecolor:
|
|
14
|
+
figure.facecolor: 0d1117
|
|
15
|
+
axes.facecolor: none
|
|
16
16
|
axes.edgecolor: white
|
|
17
17
|
axes.labelcolor: white
|
|
18
18
|
xtick.color: white
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
axes.prop_cycle: cycler('color', ["8bc6e4","f48a7c","3af899","fccd88","be9ac1","7d8c80","e95d7c","2688e3"])
|
|
2
|
+
|
|
1
3
|
figure.dpi: 150
|
|
2
4
|
axes.axisbelow: True
|
|
3
5
|
axes.grid: False
|
|
@@ -6,6 +8,4 @@ xtick.direction: out
|
|
|
6
8
|
ytick.direction: out
|
|
7
9
|
grid.alpha: 0.2
|
|
8
10
|
|
|
9
|
-
font.family: monospace
|
|
10
|
-
|
|
11
|
-
axes.prop_cycle: cycler('color', ["389ed0","ef5946","06b15c","fab54e","9d67a2","545e56","e22850","0d3b66"])
|
|
11
|
+
font.family: monospace
|