diff --git a/mapgenerator/__init__.py b/mapgenerator/__init__.py index 0e59cada65efc07b494844f3fada6b01bde90478..03a855f40fa3669829d225f9206437ff8216e83e 100644 --- a/mapgenerator/__init__.py +++ b/mapgenerator/__init__.py @@ -1,4 +1,4 @@ """ 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" diff --git a/mapgenerator/plotting/plotmap.py b/mapgenerator/plotting/plotmap.py index ed0224eb2afdca98a3cdd611bd4663ecd77edab3..2a1694cc95cfd01fbffb6b1e675cb468eb5cbfe3 100644 --- a/mapgenerator/plotting/plotmap.py +++ b/mapgenerator/plotting/plotmap.py @@ -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, diff --git a/mapgenerator/plotting/timeseries.py b/mapgenerator/plotting/timeseries.py index 53c6e708ec15e1ff59efdfeb840001180cba9277..693d5e78d97d8647c0a2f18f494140c3d66a4cdd 100644 --- a/mapgenerator/plotting/timeseries.py +++ b/mapgenerator/plotting/timeseries.py @@ -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) diff --git a/setup.py b/setup.py index ecd602ca54ee00c5afe97518e082c85bafdf0391..c1697dda3b7f94e88f6aa0597cc9dbe12ff62600 100644 --- a/setup.py +++ b/setup.py @@ -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",