Title: Relationship between line-art markers and the markeredgewidth parameter · Issue #4679 · matplotlib/matplotlib · GitHub
Open Graph Title: Relationship between line-art markers and the markeredgewidth parameter · Issue #4679 · matplotlib/matplotlib
X Title: Relationship between line-art markers and the markeredgewidth parameter · Issue #4679 · matplotlib/matplotlib
Description: This issue is related to the call for style overhaul proposals. My understanding of how line-art markers get drawn (e.g. "x") is that the width of the line reads from the markeredgewidth parameter. This means that when markeredgewidth is...
Open Graph Description: This issue is related to the call for style overhaul proposals. My understanding of how line-art markers get drawn (e.g. "x") is that the width of the line reads from the markeredgewidth parameter....
X Description: This issue is related to the call for style overhaul proposals. My understanding of how line-art markers get drawn (e.g. "x") is that the width of the line reads from the markeredgewidth ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4679
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Relationship between line-art markers and the markeredgewidth parameter","articleBody":"This issue is related to the call for style overhaul proposals.\n\nMy understanding of how line-art markers get drawn (e.g. \"x\") is that the width of the line reads from the `markeredgewidth` parameter.\n\nThis means that when `markeredgewidth` is 0, line art markers are invisible. This is particularly a problem for seaborn (where `markeredgewidth` is 0 by default), but I think one could argue that it is not ideal in any case.\n\nIMO, it would be better to have some differentiation between the width of the edge around a solid marker, which is purely aesthetic, and the weight of the line that is used to draw a line-art marker, which isn't. This distinction already exists a little bit in that line-art markers are colored with the `color` parameter and not the `markeredgecolor` parameter (though specifying the latter does appear to override the former). So I would propose one of two things: 1) adding a `lines.lineartwidth` (or something) parameter to allow separate specification of the line-art marker width, or 2) reading from `lines.linewidth` instead of `lines.markeredgewidth`.\n\nA related (but possibly separate; I can make a new issue) point is that it would be nice to have some \"hollow\" markers, like a hollow \"o\" or \"s\" which are really line-art markers with the same basic shape as a circle or square, but without a fill and where the line color is derived from `color` and not `markeredgecolor`. It's possible to draw one of these currently, but you have to do something like `plt.plot(x, y, \"o\", markeredgewidth=1, markerfacecolor=\"none\", markeredgecolor=\"b\")`. This means it is hard to use this style of marker through an abstract interface (i.e. seaborn), which is a shame because this can be a very useful way to draw scatterplot points.\n","author":{"url":"https://github.com/mwaskom","@type":"Person","name":"mwaskom"},"datePublished":"2015-07-13T16:02:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4679/matplotlib/issues/4679"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:958c0d07-20f1-a1bc-7c9f-177f56e2b62a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D63C:13D32C:EDCB6A:1441345:6A52007E |
| html-safe-nonce | 62fb003bf5445cf5d46d8f325a6334873bbfa30d75996089d3346bcbe7daaa05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjNDOjEzRDMyQzpFRENCNkE6MTQ0MTM0NTo2QTUyMDA3RSIsInZpc2l0b3JfaWQiOiIyNTc2NjU0MzY5ODkxMTU2MDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 32be2559df4d38f4d7116295d4c2141ded9247ed0b0accec9ef575cf96c190d5 |
| hovercard-subject-tag | issue:94755473 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/4679/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8210233bda3753ab5541e3a1dbacb4db8c11391bc0ed3111f1ed82b5636c7cb5/matplotlib/matplotlib/issues/4679 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8210233bda3753ab5541e3a1dbacb4db8c11391bc0ed3111f1ed82b5636c7cb5/matplotlib/matplotlib/issues/4679 |
| og:image:alt | This issue is related to the call for style overhaul proposals. My understanding of how line-art markers get drawn (e.g. "x") is that the width of the line reads from the markeredgewidth parameter.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mwaskom |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width