Skip to content

Commit 8d54d04

Browse files
committed
multiplot=True works properly
1 parent cbbcd23 commit 8d54d04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gnuplotlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,7 @@ def make_subplot_data_embedded_kwargs(subplot):
22972297

22982298
if self.processOptions.get('multiplot'):
22992299
self._safelyWriteToPipe('set multiplot ' + \
2300-
self.processOptions['multiplot'] if type(self.processOptions['multiplot']) is str else '')
2300+
(self.processOptions['multiplot'] if type(self.processOptions['multiplot']) is str else ''))
23012301
for curves,subplotOptionsCmds,plotcmd,testcmd,testdata in subplots:
23022302
if self.processOptions.get('multiplot'):
23032303
# we're multiplotting, so I need to wipe the slate clean so
@@ -2316,7 +2316,7 @@ def make_subplot_data_embedded_kwargs(subplot):
23162316

23172317
if self.processOptions.get('multiplot'):
23182318
self._safelyWriteToPipe('set multiplot ' + \
2319-
self.processOptions['multiplot'] if type(self.processOptions['multiplot']) is str else '')
2319+
(self.processOptions['multiplot'] if type(self.processOptions['multiplot']) is str else ''))
23202320
for curves,subplotOptionsCmds,plotcmd,testcmd,testdata in subplots:
23212321
if self.processOptions.get('multiplot'):
23222322
# we're multiplotting, so I need to wipe the slate clean so that

0 commit comments

Comments
 (0)