From d1be466d40471c9bab2622b64485914c5b578b09 Mon Sep 17 00:00:00 2001 From: Simon Mazenoux Date: Fri, 22 Sep 2023 12:22:57 +0200 Subject: [PATCH] fix: use _draw_all instead of draw_all for matplotlib --- src/DIRAC/Core/Utilities/Graphs/QualityMapGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/Core/Utilities/Graphs/QualityMapGraph.py b/src/DIRAC/Core/Utilities/Graphs/QualityMapGraph.py index 39c082801d2..2d1d05b4ae4 100644 --- a/src/DIRAC/Core/Utilities/Graphs/QualityMapGraph.py +++ b/src/DIRAC/Core/Utilities/Graphs/QualityMapGraph.py @@ -171,7 +171,7 @@ def draw(self): cb = ColorbarBase( cax, cmap=self.cmap, norm=self.norms, boundaries=self.cbBoundaries, values=self.cbValues, ticks=self.cbTicks ) - cb.draw_all() + cb._draw_all() # cb = self.ax.colorbar( self.mapper, format="%d%%", # orientation='horizontal', fraction=0.04, pad=0.1, aspect=40 ) # setp( cb.outline, linewidth=.5 )