Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Muticontroller plot warning #355

Open
jarmarshall opened this issue Sep 28, 2019 · 1 comment
Open

Muticontroller plot warning #355

jarmarshall opened this issue Sep 28, 2019 · 1 comment
Assignees
Labels

Comments

@jarmarshall
Copy link
Contributor

Noted during work on pull request #350 :

/Users/james/Google Drive/Home/Git/MuMoT/mumot/views.py:550: 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.
  plt.subplot(self._numRows, self._numColumns, subPlotNum)
@jarmarshall jarmarshall added this to the First release patch milestone Sep 28, 2019
@jarmarshall jarmarshall self-assigned this Sep 28, 2019
@jarmarshall
Copy link
Contributor Author

This issue is specific to nested multicontrollers - unfortunately following the solution proposed by the warning breaks multicontroller nesting, and puts all component plots at the same level. For now a workaround is to ignore the warning, but in the future this issue will need to be fixed properly, when matplotlib makes good on its threat...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant