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
I tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here goes:
it used to be that Axes.get_shared_x_axes() returned a cbook.Grouper() which had a .join() method, but now it is returning an cbook.GrouperView() that is IMMUTABLE. It is breaking my tool and I don't even understand the rationale for such backward incompatible change.
regardless, I need a workaround that would continue to work with future versions of matplotlib. Much appreciate your help in pointing me to the right methods and properties to achieve the same effect as this.
thanks very much.
Proposed solution
revert to the previous behaviour of Axes.get_shared_x_axes() returning a mutable Grouper
The text was updated successfully, but these errors were encountered:
Calling sharex is the expected api for doing this task, and additionally makes sure that the axes are consistent when sharing is started (though fundementally it is doing the same thing to the underlying Grouper object).
Problem
I tried to post this on discourse, but that forum is too restrictive in flagging my question as spam (just because I am linking to the specific lines of code to provide context).. so here goes:
it used to be that
Axes.get_shared_x_axes()
returned acbook.Grouper()
which had a.join()
method, but now it is returning ancbook.GrouperView()
that is IMMUTABLE. It is breaking my tool and I don't even understand the rationale for such backward incompatible change.regardless, I need a workaround that would continue to work with future versions of matplotlib. Much appreciate your help in pointing me to the right methods and properties to achieve the same effect as this.
thanks very much.
Proposed solution
revert to the previous behaviour of
Axes.get_shared_x_axes()
returning a mutableGrouper
The text was updated successfully, but these errors were encountered: