-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Filled + and x markers #6907
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
Filled + and x markers #6907
Conversation
27b3be5
to
9908425
Compare
The rationale for the addition of these symbols is; to allow a grammar based plotting package to conveniently use the common plotting symbols (circle, square, triangle, plus and x) and not have to deal with some of them not being fillable.
9908425
to
b914ed6
Compare
I am 👍 modulo a bit of discussion about the names and the details of the shape. It is a bit annoying that Maybe make the limbs a little narrower? This look very blocky to me. |
Yeah, the options for plus were not great, the silver medallist was I will mock-up some options with various limb sizes. |
For filled markers, I think a blocky design makes sense--you have to have room inside to fill it. This PR looks good to me. Using the hash instead of the P might be an improvement. |
Here are some marker options for a rough vote. The labels at the top of the columns indicate the ratio for the breadth of the "limbs". For a uniform look it should be the same breadth ratio for both markers. The current implementation uses a ratio of My vote: 1/4 |
I lean towards 1/5, but am ok with 1/4 👍 to using the same ratio for both. I am sure someone will ask for the ability to control this ratio via rcparams, but lets put off doing that until someone asks for it 😄 . |
I think 1/3 is most functional, 1/4 is still acceptable, 1/5 is too skinny. The point of a filled marker is to have a filling and an outline. Make it too skinny, and the marker will have to be very large for there to be enough room for an outline and a fill; and the filling should occupy at least as much area as the outline. My assumption is that normally markers will be small compared to the Axes dimensions. In the examples given here, the smallest ones are larger than I would expect most real-life markers to be. |
How about we put this up as a vote on matplotlib-users? On Tue, Aug 9, 2016 at 2:11 AM, Eric Firing notifications@github.com
|
@efiring That is a good point that I had not considered. |
I'm inclined to merge this as-is. The AppVeyor failure is unrelated. I do not support setting up a vote on the mailing list--way too much fuss for a simple decision. It might be too late to get this into 2.0--I don't think that backporting it is essential. |
I used the markers as they are in the PR and I have not wished to alter the limb sizes. I am fine on that front. Otherwise, I do indeed think a hash is a better symbol for the filled plus marker. I will make that |
one problem with the hash symbol... it can't be used in our current On Sat, Sep 10, 2016 at 5:05 AM, Hassan Kibirige notifications@github.com
|
[MRG+1] Filled + and x markers
The rationale for the addition of these symbols is; to allow a
grammar based plotting package to conveniently use the common
plotting symbols (circle, square, triangle, plus and x) and not
have to deal with some of them not being fillable.