-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
MarkerStyle is considered immutable #19341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
475462a
to
d27ab97
Compare
d27ab97
to
976823e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall makes sense to me, but it seems lines.set_fillstyle
is not tested? Or did you want to deprecate that as well?
@@ -534,7 +534,7 @@ def set_fillstyle(self, fs): | |||
|
|||
For examples see :ref:`marker_fill_styles`. | |||
""" | |||
self._marker.set_fillstyle(fs) | |||
self.set_marker(MarkerStyle(self._marker.get_marker(), fs)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we never test set_fillstyle
? Can we use this as the opportunity to do so?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to have this deprecation be part of 3.4 and I don't know if I have the bandwidth to add tests soon. Therefore, I'd rather do this in a later PR.
As opposed to what I said in the dev call, we cannot easily deprecate Therefore, I'll leave marker and fillstyle as "simple" Matplotlib properties of |
PR Summary
as discussed in yesterdays dev call.
See also #17850 (comment).