Skip to content

Commit

Permalink
cell.py cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Jan 10, 2017
1 parent 840a08b commit 051c569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LFPy/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,7 @@ def get_pt3d_polygons(self, projection=('x', 'z')):
plt.show()
'''

if len(projection) != 2:
raise ValueError("projection arg be a tuple like ('x', 'y')")
if 'x' in projection and 'y' in projection:
Expand Down

0 comments on commit 051c569

Please sign in to comment.