Skip to content

Commit

Permalink
Merge pull request #21598 from jitseniesen/plot-highlight
Browse files Browse the repository at this point in the history
PR: Change style of border around thumbnail of current plot
  • Loading branch information
ccordoba12 authored Jan 3, 2024
2 parents a9c0164 + c563a73 commit ee062e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spyder/plugins/plots/widgets/figurebrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,10 +1057,9 @@ def highlight_canvas(self, highlight):
Set a colored frame around the FigureCanvas if highlight is True.
"""
if highlight:
# Highlighted figure is not clear in dark mode with blue color.
# See spyder-ide/spyder#10255.
# See spyder-ide/spyder#21598 for choice of styling.
self.canvas.setStyleSheet(
"FigureCanvas{border: 2px solid %s;}" %
"FigureCanvas{border: 3px solid %s;}" %
QStylePalette.COLOR_ACCENT_3
)
else:
Expand Down

0 comments on commit ee062e4

Please sign in to comment.