-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Support marker="none" to mean "no marker". #21055
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
... to mean "no-marker", consistently with other APIs which support the | ||
lowercase version. |
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.
... to mean "no-marker", consistently with other APIs which support the | |
lowercase version. | |
... to mean *no-marker*, consistently with other APIs which support the | |
lowercase version. Using 'none' is recommended over using 'None'. |
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.
done
lib/matplotlib/markers.py
Outdated
@@ -45,7 +45,8 @@ | |||
``9`` (``CARETRIGHTBASE``) |m34| caretright (centered at base) | |||
``10`` (``CARETUPBASE``) |m35| caretup (centered at base) | |||
``11`` (``CARETDOWNBASE``) |m36| caretdown (centered at base) | |||
``"None"``, ``" "`` or ``""`` nothing | |||
``"None"`` or ``"None"`` nothing |
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.
Did you mean:
``"None"`` or ``"None"`` nothing | |
``"none"`` or ``"None"`` nothing |
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.
oops, yes.
As for other APIs, this is less likely to be confused with the None object.
Support marker="none" to mean "no marker".
As for other APIs (#19300), this is less likely to be confused with the None
object.
PR Summary
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).