Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Earth Sciences
mapgenerator
Compare revisions
82147be97380d9ebd9a0c2fcd25008ae95e504ae...fbd6ff88aa3869009a389245627ec35ab9b1a729
Commits (3)
Fix issues with matplotlib
· e8e3c572
sloosvel
authored
Mar 20, 2023
e8e3c572
Increase version
· 8774bf31
sloosvel
authored
Mar 20, 2023
8774bf31
Merge branch 'matplotlib_fixes' into 'master'
· fbd6ff88
Francesco
authored
Mar 20, 2023
Matplotlib fixes Closes
#80
See merge request
!22
fbd6ff88
Hide whitespace changes
Inline
Side-by-side
mapgenerator/__init__.py
View file @
fbd6ff88
""" Map Generator is a toolkit that provides easy to use 2D plotting and
evaluation functions for Earth Sciences """
__version__
=
"1.0.
6
"
__version__
=
"1.0.
7
"
mapgenerator/plotting/plotmap.py
View file @
fbd6ff88
...
...
@@ -760,7 +760,7 @@ class PlotMap(MapCross, MapDrawOptions):
frame_on
=
True
)
self
.
mgplot
=
plt
.
gcf
()
self
.
mgaxis
.
patch
.
set_edgecolor
(
'black'
)
self
.
mgaxis
.
patch
.
set_linewidth
(
'1'
)
self
.
mgaxis
.
patch
.
set_linewidth
(
1
)
self
.
gen_image_map
(
fig_name
,
grid
,
...
...
mapgenerator/plotting/timeseries.py
View file @
fbd6ff88
...
...
@@ -98,8 +98,8 @@ class PlotSeries(MapGenerator):
ax
.
set_autoscaley_on
(
True
)
else
:
ax
.
set_ylim
(
left
=
ylimits
[
0
],
right
=
ylimits
[
1
])
ax
.
grid
(
b
=
True
,
which
=
'major'
,
axis
=
'both'
,
alpha
=
0.6
)
ax
.
grid
(
b
=
True
,
which
=
'minor'
,
axis
=
'both'
,
alpha
=
0.3
)
ax
.
grid
(
visible
=
True
,
which
=
'major'
,
axis
=
'both'
,
alpha
=
0.6
)
ax
.
grid
(
visible
=
True
,
which
=
'minor'
,
axis
=
'both'
,
alpha
=
0.3
)
ax
.
tick_params
(
axis
=
'both'
,
which
=
'major'
,
labelsize
=
self
.
axis_fontsize
)
...
...
setup.py
View file @
fbd6ff88
...
...
@@ -5,7 +5,7 @@ setup(
name
=
"mapgenerator"
,
license
=
'Apache 2.0'
,
# Version number (initial):
version
=
"1.0.
6
"
,
version
=
"1.0.
7
"
,
# Application author details:
author
=
"Francesco Benincasa"
,
...
...