Skip to content

Commit

Permalink
Merge pull request #16 from gpilab/matplotlib_bugfix
Browse files Browse the repository at this point in the history
Restrict matplotlib connextions to 1 or 2D. Fixes #15
  • Loading branch information
aganders3 authored Aug 21, 2019
2 parents 906a5f5 + e002926 commit 74f9c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display/GPI/Matplotlib_GPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ def initUI(self):
# IO Ports
self.inport_range = list(range(0, 8))
for i in self.inport_range:
self.addInPort('in' + str(i), 'NPYarray', obligation=gpi.OPTIONAL)
self.addInPort('in' + str(i), 'NPYarray', drange=(1,2), obligation=gpi.OPTIONAL)

def compute(self):

Expand Down

0 comments on commit 74f9c1d

Please sign in to comment.