10000 the program written in spyder3.3.3 can't run in spyder3.3.6 · Issue #15120 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
the program written in spyder3.3.3 can't run in spyder3.3.6 #15120
Closed
@fanzz1982

Description

@fanzz1982

Bug report

the program .py written in spyder3.3.3 can't run in spyder3.3.6. It seems that the command axes[].plot() from matplotlib has sth wrong in spyder3.3.6. The alarm messenge is : tuple index out of range
I report the probelm to the admin of spyder. He reply me that it is the problem in matplotlib not in spyder, and I should update my code.
What can I do about updating my code? my matplotlib in anaconda is 3.1.0
Bug summary
It seems that the command axes[].plot() from matplotlib has sth wrong in spyder3.3.6. The alarm messenge is : tuple index out of range

Code for reproduction

# Paste your code here
#
#
for i in range(n):
    irf_data = pd.DataFrame(
            [irf_1[:,i], irf_2[:,i], irf_3[:,i]]).T
    irf_data.columns = ['point', 'up', 'lower']
    
    axes[i//2, i % 2].plot(irf_data.index, irf_data.1,
                           color = 'blue', linestyle = '-')

Actual outcome
tuple index out of range

Expected outcome

Matplotlib version

  • Operating system:
  • Matplotlib version:
  • Matplotlib backend (print(matplotlib.get_backend())):
  • Python version:
  • Jupyter version (if applicable):
  • Other libraries:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0