You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because PersistenceLength.plot() grabs the current axes instead of creating a new figure, you can end up with it plotting over something else unintentionally. e.g. plotting over and over in this figure
* Fixes#2590
* Created new axes for plot of persistence_length if ax is not passed in as an argument (analysis/polymer.py)
* Added test (analysis/test_persistencelength.py)
Is your feature request related to a problem?
Because PersistenceLength.plot() grabs the current axes instead of creating a new figure, you can end up with it plotting over something else unintentionally. e.g. plotting over and over in this figure
mdanalysis/package/MDAnalysis/analysis/polymer.py
Lines 272 to 273 in 1f4e492
Describe the solution you'd like
Create new axes instead. If users want to plot on already created axes, they can pass those in themselves with the
ax
keyword already implemented.The text was updated successfully, but these errors were encountered: