summaryrefslogtreecommitdiff
path: root/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch')
-rw-r--r--sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch b/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch
deleted file mode 100644
index 4cea6f50d4ee..000000000000
--- a/sci-visualization/pythonprop/files/pythonprop-matplotlib3.9.patch
+++ /dev/null
@@ -1,65 +0,0 @@
---- a/src/pythonprop/voaAreaPlot.py
-+++ b/src/pythonprop/voaAreaPlot.py
-@@ -148,15 +148,15 @@ class VOAAreaPlot:
- # print "-180 < Latitude < 180.0, -90 < Longitude < 90"
- # sys.exit(1)
-
-- portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
-+ portland = ListedColormap(["#0C3383","#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"], name="portland")
- try:
-- plt.register_cmap(name='portland', cmap=portland)
-+ matplotlib.colormaps.register(cmap=portland)
- except ValueError:
- print("Portland colormap is already registered")
- colMap = color_map
-
- projection = ccrs.PlateCarree()
-- axes_class = (GeoAxes,dict(map_projection=projection))
-+ axes_class = (GeoAxes,dict(projection=projection))
-
- number_of_subplots = len(vg_files)
-
-@@ -208,7 +208,7 @@ class VOAAreaPlot:
- cbar_mode='single',
- cbar_pad=0.2,
- cbar_size='3%',
-- label_mode='')
-+ label_mode='L')
-
- self.main_title_label = fig.suptitle(str(self.image_defs['title']), fontsize=self.main_title_fontsize)
-
-@@ -292,7 +292,7 @@ class VOAAreaPlot:
- ax.plot([xpt],[ypt],'ro')
- ax.text(xpt+100000,ypt+100000,location.get_name())
- """
-- gl = ax.gridlines(crs=projection, draw_labels=True,
-+ gl = ax.gridlines(crs=projection, draw_labels=["bottom", "left"],
- linewidth=1, color='black', alpha=0.75)
- gl.xlabels_top = False
- gl.xlabels_bottom = False
-diff --git a/src/pythonprop/voaP2PPlot.py b/src/pythonprop/voaP2PPlot.py
-index 7255667..4a3ff05 100644
---- a/src/pythonprop/voaP2PPlot.py
-+++ b/src/pythonprop/voaP2PPlot.py
-@@ -140,9 +140,10 @@ class VOAP2PPlot:
- # set backend during initialization to avoid switching error
- matplotlib.use('GTK3Agg')
-
-- portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"])
-+ portland = ListedColormap(["#0C3383", "#0b599b","#0a7fb4","#57a18f","#bec255","#f2c438","#f2a638","#ef8235","#e4502a","#d91e1e"],
-+name="portland")
- try:
-- matplotlib.cm.register_cmap(name='portland', cmap=portland)
-+ matplotlib.colormaps.register(cmap=portland)
- except ValueError:
- print("Portland colormap is already registered")
-
-@@ -203,7 +204,7 @@ class VOAP2PPlot:
- cbar_mode='single',
- cbar_pad=0.2,
- cbar_size='3%',
-- label_mode='')
-+ label_mode='L')
-
- self.main_title_label = fig.suptitle(plot_label+str(self.image_defs['title']), fontsize=self.main_title_fontsize)
-