Problem switching plots.
Title
Question
I am using python 3.6.9 instead of python 3.4.3.
I am facing problem in switching subplots. ipython gives error. I have pasted the messages from my ipython window.
Am I missing something?
n [3]: subplot(2,1,1)
Out[3]: <AxesSubplot:>
In [4]: subplot(2,1,2)
Out[4]: <AxesSubplot:>
In [5]: subplot(2,1,1)
/home/cslt/.local/bin/ipython3:1: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance.
#!/usr/bin/python3
Out[5]: <AxesSubplot:>
Python-3.4.3 Subplots 03-04 min 0-10 sec
Answers:
That is a warning and not an error if you observe you got the output at out[5]
Login to add comment