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
In a recent Stack Overflow post the question came up if it's possible to reorder the legend entries in PyGMT (see example below, left plot). As far as I know in principle the legend entries follow the order in which the corrsponding fig.plot() calls (including the label definition) take place. However, I made a suggestion using the following workaround (right plot):
I guess it's not possible to directly implement something like the zorder option in matplotlib.pyplot.plot in PyGMT since the module is connected to GMT's plot function. However, maybe there are some ideas how we could handle that.
Are you willing to help implement and maintain this feature? First discuss
The text was updated successfully, but these errors were encountered:
Description of the desired feature
In a recent Stack Overflow post the question came up if it's possible to reorder the legend entries in PyGMT (see example below, left plot). As far as I know in principle the legend entries follow the order in which the corrsponding
fig.plot()
calls (including the label definition) take place. However, I made a suggestion using the following workaround (right plot):I guess it's not possible to directly implement something like the
zorder
option inmatplotlib.pyplot.plot
in PyGMT since the module is connected to GMT's plot function. However, maybe there are some ideas how we could handle that.Are you willing to help implement and maintain this feature? First discuss
The text was updated successfully, but these errors were encountered: