Skip to content

Commit e878832

Browse files
committed
improved rxd concentration plot - more generic, integrated into netpyne
1 parent e000520 commit e878832

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

netpyne_ui/netpyne_geppetto.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,12 @@ def getNetPyNELFPLocationsPlot(self):
333333
return svgs.__str__()
334334

335335
def getNetPyNERxDConcentration(self):
336-
try:
337-
fig = rxd.plotExtracellularConcentration(species=rxd.ca)
338-
if fig==-1:
339-
return fig
340-
else:
341-
return ui.getSVG(fig)
342-
except:
343-
return -1
336+
args = self.getPlotSettings('plotRxDConcentration')
337+
fig = analysis.plotRxDConcentration(showFig=False, **args)
338+
if fig==-1:
339+
return fig
340+
else:
341+
return ui.getSVG(fig)
344342

345343
def getAvailablePops(self):
346344
return netParams.popParams.keys()

0 commit comments

Comments
 (0)