Skip to content

Commit

Permalink
fixed undeclared var dpi in plotShape()
Browse files Browse the repository at this point in the history
  • Loading branch information
vvbragin committed Feb 9, 2024
1 parent 2cb58b0 commit 2f22939
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
3 changes: 2 additions & 1 deletion netpyne/plotting/plotShape.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def plotShape(
showElectrodes=False,
synStyle='.',
synSize=3,
synColor='red',
dist=0.6,
elev=90,
azim=-90,
Expand All @@ -58,6 +59,7 @@ def plotShape(
axisLabels=False,
kind='shape',
returnPlotter=False,
dpi=300,
**kwargs
):
"""
Expand Down Expand Up @@ -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']:
Expand Down

0 comments on commit 2f22939

Please sign in to comment.