Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
efiring merged 1 commit intomatplotlib:masterfromhas2k1:filled-plus-x-markers
Oct 18, 2016

Conversation

has2k1
Copy link
Contributor

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.

The rationale for the addition of these symbols is; to allow agrammar based plotting package to conveniently use the commonplotting symbols (circle, square, triangle, plus and x) and nothave to deal with some of them not being fillable.
@has2k1has2k1force-pushed thefilled-plus-x-markers branch from9908425 tob914ed6CompareAugust 6, 2016 07:40
@jenshnielsenjenshnielsen added this to the2.0 (style change major release) milestoneAug 7, 2016
@tacaswell
Copy link
Member

I am 👍 modulo a bit of discussion about the names and the details of the shape.

It is a bit annoying thatx ->X make sense butp ->P does not, but I do not really see any better options here.

Maybe make the limbs a little narrower? This look very blocky to me.

@has2k1
Copy link
ContributorAuthor

Yeah, the options for plus were not great, the silver medallist was#.

I will mock-up some options with various limb sizes.

@efiring
Copy link
Member

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.

@has2k1
Copy link
ContributorAuthor

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".
The markers in the top half have a largerlinewidth than those in the bottom half.

plus
filled-plus

x
filled-x

For a uniform look it should be the same breadth ratio for both markers. The current implementation uses a ratio of1/3.

My vote:1/4

@tacaswell
Copy link
Member

I lean towards 1/5, but am ok with 1/4

👍 to using the same ratio for both.

I am suresomeone will ask for the ability to control this ratio via rcparams, but lets put off doing that until someone asks for it 😄 .

@efiring
Copy link
Member

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.

@WeatherGod
Copy link
Member

How about we put this up as a vote on matplotlib-users?

On Tue, Aug 9, 2016 at 2:11 AM, Eric Firingnotifications@github.com
wrote:

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.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6907 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARy-NOitf-ddoZRcdyJKO9n32s8TcPNks5qeBoWgaJpZM4JeFmo
.

@tacaswell
Copy link
Member

@efiring That is a good point that I had not considered.

@efiring
Copy link
Member

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.

@has2k1
Copy link
ContributorAuthor

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 ahash is a better symbol for the filled plus marker. I will make that
change in the next within a day or so.

@WeatherGod
Copy link
Member

one problem with the hash symbol... it can't be used in our current
matplotlibrc reader. We should probably update the reader so that comments
are properly parsed.

On Sat, Sep 10, 2016 at 5:05 AM, Hassan Kibirigenotifications@github.com
wrote:

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
change in the next within a day or so.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#6907 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARy-K2hAKn4AINKRkAVBV-hxmFajjrHks5qonLBgaJpZM4JeFmo
.

@tacaswelltacaswell reopened thisOct 17, 2016
@tacaswelltacaswell changed the titleFilled + and x markers[MRG+1] Filled + and x markersOct 17, 2016
@efiringefiring merged commit8e735e6 intomatplotlib:masterOct 18, 2016
efiring added a commit that referenced this pull requestOct 18, 2016
@efiring
Copy link
Member

backported to v2.x as00495d9.
Thank you,@has2k1!

@QuLogicQuLogic changed the title[MRG+1] Filled + and x markersFilled + and x markersDec 7, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

6 participants
@has2k1@tacaswell@efiring@WeatherGod@mdboom@jenshnielsen

[8]ページ先頭

©2009-2025 Movatter.jp