Inventory map plot: Missing legend and artifacts from legend setup #3067
Labels
bug
confirmed bug
.imaging
Issues with our plotting functionalities
release blocker
critical issues blocking the corresponding future release
Milestone
Avoid duplicates
Bug Summary
With 9659cf3, while fixing the docs build apparently, two small bugs were introduced.
a) Legend is removed from the plot, right after adding it
b) Helper artists (bogus scatter plots), used to set up the legend are not removed anymore, ending up in markers lingering at 0°N 0°E
a) is trivial, just get rid of these remove calls again
b) currently calls like
.pop()
and.remove()
work onax.collections
, but there's a note that with matplotlib 3.7 this will get changed to being immutable, so this needs to be done differently and correctly right nowIn addition, this part also shows a warning:
This simply needs to be changed to
color=color
:Code to Reproduce
Error Traceback
No response
ObsPy Version?
master
Operating System?
No response
Python Version?
No response
Installation Method?
developer installation / from source / git checkout
The text was updated successfully, but these errors were encountered: