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
{{ message }}
Repository navigation
anchored_artists don't support zorder argument #7650
Without looking at the code, I expect this to be a matter of tracing through where the kwargs in AnchoredText get processed and ensure that zorder is properly handled.
Can anyone help me out: what's the reason for having mpl_toolkits/axes_grid, mpl_toolkits/axes_grid1, mpl_toolkits/axisartist and matplotlib/offsetbox.py? Should there some cleaning up happen or shoudn't one touch/move/delete anything?
axes_grid is the original, and axes_grid1 and axisartist are split versions of them. I'm pretty sure matplotlib.offsetbox is the real implementation and the others just import it (of whatever's implemented there, anyway.) I've got a bit of cleanup ready for as soon as I've finished #7545.
@AhmadSenousi In general, issues are closed when they are solved. If that this was missed, you can easily run the minimal example above to see that this is not yet solved.
Activity
RafiKueng commentedon Dec 20, 2016
one can however directly set the zorder on the at element:
at.zorder = 20tacaswell commentedon Dec 20, 2016
Without looking at the code, I expect this to be a matter of tracing through where the kwargs in AnchoredText get processed and ensure that zorder is properly handled.
tacaswell commentedon Dec 20, 2016
@RafiKueng Would you be interested in taking a crack at sorting this out?
RafiKueng commentedon Dec 20, 2016
RafiKueng commentedon Dec 20, 2016
note to myself:
I also found other possible bugs in the ancored artists... (scalebar for example) I might clean up everything when I'm at it.
tacaswell commentedon Dec 21, 2016
I believe that #7344 is related?
RafiKueng commentedon Jan 9, 2017
yes, looks like #7344 is related.
Can anyone help me out: what's the reason for having
mpl_toolkits/axes_grid,mpl_toolkits/axes_grid1,mpl_toolkits/axisartistandmatplotlib/offsetbox.py? Should there some cleaning up happen or shoudn't one touch/move/delete anything?tacaswell commentedon Jan 10, 2017
There should be some cleaning up, but it needs to be done carefully so that we do not break user code without warning.
QuLogic commentedon Jan 10, 2017
axes_gridis the original, andaxes_grid1andaxisartistare split versions of them. I'm pretty surematplotlib.offsetboxis the real implementation and the others just import it (of whatever's implemented there, anyway.) I've got a bit of cleanup ready for as soon as I've finished #7545.AhmadSenousi commentedon Mar 26, 2021
Is this problem Solved?
timhoffm commentedon Mar 27, 2021
@AhmadSenousi In general, issues are closed when they are solved. If that this was missed, you can easily run the minimal example above to see that this is not yet solved.