Skip to content

Commit

Permalink
canvas: transparent background
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Schott committed Apr 7, 2021
1 parent 1cb27c8 commit d4c6c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mercurygui/pyqtplot_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, parent=None):
self.layout.setSpacing(-1.0)
self.layout.layout.setRowPreferredHeight(1, 200)
self.layout.layout.setRowPreferredHeight(2, 20)
self.setBackground(None)
self.setStyleSheet("background: transparent")
self.setCentralItem(self.layout)

# create axes and apply formatting
Expand Down

0 comments on commit d4c6c53

Please sign in to comment.