Skip to content

Commit

Permalink
make plot backend user-selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
kklmn committed Apr 5, 2024
1 parent 83257ea commit 7b9999f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions parseq/gui/nodeWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,10 @@ def titleCallback3D(self, ind):

def makePlotWidget(self):
node = self.node
# self.backend = dict(backend='opengl')
self.backend = dict(backend='matplotlib')
if csi.plotBackend in ('matplotlib', 'opengl'):
self.backend = dict(backend=csi.plotBackend)
else:
self.backend = dict(backend='matplotlib')

if node.plotDimension == 3:
self.plot = Plot3D(self.splitterPlot, position=Plot3D.posInfo,
Expand Down

0 comments on commit 7b9999f

Please sign in to comment.