-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
I am attempting to run the pork_chop.py test. I'm running Python 3.7.3 and Matplotlib 3.1.1 in the current Anaconda distribution.
Now the first issue encountered had to do with the removal of get_axes() from Matplolib. Commit 9288ba8 referenced in cphyc/matplotlib-label-lines#1 showed me that replacing line.get_axes() with line.axes would solve that problem, and it did. A copy of the modified code has been attached to this note. Now I have a different problem.
Presently, when I run pork_chop.py I get the following error message.
(base) Samuels-Mac-Pro:pork_chop user$ python3 pork_chop.py
Traceback (most recent call last):
File "pork_chop.py", line 229, in <module>
draw_all_flight_time_lines()
File "pork_chop.py", line 155, in draw_all_flight_time_lines
draw_flight_time_line(t0[:,np.size(t0,1)/4],tf[:,np.size(t0,1)/4],'r')
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
(base) Samuels-Mac-Pro:pork_chop user$ python3
Any suggestions?
Please advise.
Sam Dupree.
Metadata
Metadata
Assignees
Labels
No labels