Skip to content

Commit a5a98d5

Browse files
committed
Additional string conversions
1 parent 7c706d1 commit a5a98d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ def getNetPyNESpikeHistPlot(self):
259259
if fig==-1:
260260
return fig
261261
else:
262-
return ui.getSVG(fig[0])
262+
return ui.getSVG(fig[0]).__str__()
263263

264264
def getNetPyNESpikeStatsPlot(self):
265265
args = self.getPlotSettings('plotSpikeStats')
266266
fig = analysis.plotSpikeStats(showFig=False, **args)
267267
if fig==-1:
268268
return fig
269269
else:
270-
return ui.getSVG(fig[0])
270+
return ui.getSVG(fig[0]).__str__()
271271

272272
def getNetPyNEGrangerPlot(self):
273273
args = self.getPlotSettings('granger')

0 commit comments

Comments
 (0)