diff --git a/CHANGES.md b/CHANGES.md index 84c09c51b..ed0e4a6f2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -22,6 +22,8 @@ - Fixed handling of output of `sim.create()` (was wrong order) +- Fixed undeclared var `dpi` in `plotShape()` + # Version 1.0.5 **New features** diff --git a/netpyne/plotting/plotShape.py b/netpyne/plotting/plotShape.py index b8498cd8c..3ed443c2b 100644 --- a/netpyne/plotting/plotShape.py +++ b/netpyne/plotting/plotShape.py @@ -44,6 +44,7 @@ def plotShape( showElectrodes=False, synStyle='.', synSize=3, + synColor='red', dist=0.6, elev=90, azim=-90, @@ -58,6 +59,7 @@ def plotShape( axisLabels=False, kind='shape', returnPlotter=False, + dpi=300, **kwargs ): """ @@ -250,7 +252,6 @@ def _set_axes_radius(ax, origin, radius): # Synapses if showSyns: - synColor = 'red' for cellPost in cellsPost: for sec in list(cellPost.secs.values()): for synMech in sec['synMechs']: