MarkerStyle is considered immutable by timhoffm · Pull Request #19341 · matplotlib/matplotlib · GitHub
Skip to content

MarkerStyle is considered immutable - #19341

Merged
jklymak merged 1 commit into
matplotlib:masterfrom
timhoffm:immutable-marker
Jan 28, 2021
Merged

jklymak merged 1 commit into
matplotlib:masterfrom
timhoffm:immutable-marker

Conversation

@timhoffm

@timhoffm timhoffm commented Jan 22, 2021

Copy link
Copy Markdown
Member

PR Summary

as discussed in yesterdays dev call.

See also #17850 (comment).

@timhoffm timhoffm added the API: changes Changes to the public API, typically requiring deprecation. label Jan 22, 2021
@timhoffm timhoffm added this to the v3.4.0 milestone Jan 22, 2021
@timhoffm
timhoffm force-pushed the immutable-marker branch 7 times, most recently from 475462a to d27ab97 Compare January 22, 2021 23:13
Comment thread lib/matplotlib/markers.py Outdated
Comment thread lib/matplotlib/tests/test_marker.py Outdated

@jklymak jklymak left a comment

Copy link
Copy Markdown
Member

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?

Comment thread lib/matplotlib/lines.py

Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member Author

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.

@timhoffm

timhoffm commented Jan 25, 2021

Copy link
Copy Markdown
Member Author

@jklymak
jklymak merged commit 476b7e4 into matplotlib:master Jan 28, 2021
@timhoffm
timhoffm deleted the immutable-marker branch January 28, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: changes Changes to the public API, typically requiring deprecation. topic: collections and mappables

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants