-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
simpler way to plot open symbols #20360
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
Comments
agree this would be nice, some related discussion is at xref: #17850 |
With |
#17850 is only about consistent rendering. This is achievable in scatter by
What is asked here is an extension of the First, the fundamental question to answer is if the increased usability outweights the redundancy. Some additional specific aspects:
|
This might conflict conceptually with hatching, where doubling the character increases the density, whereas this decreases the ink for the marker. |
Here it‘s not doubling, but an added o for open (an open square is 'so'). Technically there is no conceptual overlap. The question is rather if 'oo' is readable enough. A more verbose option could be 'o(open)' or 'open-o' or similar. |
Indeed, something like |
If it's not overkill to expand to three letters, (or I guess two since none=open?) |
To be clear, I think the preferred API should not be manipulating MarkerStyles, but really to make As for making |
This makes me think that |
I'm +1 on the fc='none' proposal cause that's what I've tried first in the past and was frustrated it didn't work. @gmamon plot, scatter, and errorbar have different semantics, but I agree we should try to standardize the keyword arguments for manipulating markers. |
Actually, looking at the docs of
which is currently not true (even ignoring the edge case of |
instead of opening a new issue, gonna revive this one. The no fillstyle in scatter is bothering me cause of its inconsistency w/ plot (#20360 (comment)) so what do folks feel about either:
|
I'm -1 on the original two-char proposals (marker="oo"). - This is too crypitc. |
Problem
It would be nice to have direct shortcuts for plotting open symbols (e.g. with plt.scatter).
For example,
for open circles:
plt.scatter(x,y,marker='oo')
open squares:
plt.scatter(x,y,marker='so')
etc.
The text was updated successfully, but these errors were encountered: