Skip to content

Commit

Permalink
fix: ColorBar.draw_all() is replaced by figure.draw_without_rendering()
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Sep 19, 2023
1 parent 0c44a0e commit a9c378a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/Core/Utilities/Graphs/QualityMapGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,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()
self.figure.draw_without_rendering()
# cb = self.ax.colorbar( self.mapper, format="%d%%",
# orientation='horizontal', fraction=0.04, pad=0.1, aspect=40 )
# setp( cb.outline, linewidth=.5 )
Expand Down

0 comments on commit a9c378a

Please sign in to comment.