Skip to content

Commit f775276

Browse files
author
facu.r
committed
fix plotShape returning empty figure
1 parent bc15b6b commit f775276

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ def getNetPyNEShapePlot(self):
224224
fig = analysis.plotShape(showFig=False, **args)
225225
if fig==-1:
226226
return fig
227-
return ui.getSVG(fig)
227+
svgs = []
228+
svgs.append(ui.getSVG(fig))
229+
return svgs.__str__()
228230

229231
def getNetPyNEConnectionsPlot(self):
230232
args = self.getPlotSettings('plotConn')

0 commit comments

Comments
 (0)