Skip to content

Commit

Permalink
Added bgcolor to the offset
Browse files Browse the repository at this point in the history
  • Loading branch information
vallsv committed Dec 20, 2023
1 parent ebed82b commit 900c3b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/silx/gui/plot/backends/BackendMatplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ def __init__(self, plot, parent=None):
self.ax = self.fig.add_subplot(label="left")
else:
self.ax = self.fig.add_axes([0.15, 0.15, 0.75, 0.75], label="left")
self.ax.yaxis.get_offset_text().set_backgroundcolor("yellow")
self.ax2 = self.ax.twinx()
self.ax2.set_label("right")
# Make sure background of Axes is displayed
Expand Down

0 comments on commit 900c3b4

Please sign in to comment.