Title: mpl.rcParams["lines.markeredgewidth"] = 0 removes markers in lines? · Issue #5156 · matplotlib/matplotlib · GitHub
Open Graph Title: mpl.rcParams["lines.markeredgewidth"] = 0 removes markers in lines? · Issue #5156 · matplotlib/matplotlib
X Title: mpl.rcParams["lines.markeredgewidth"] = 0 removes markers in lines? · Issue #5156 · matplotlib/matplotlib
Description: I have the problem that after importing seaborn, lines with markers do not show markers anymore. The following will first output a plot with a blue line and three markers (the two on the ends are barely visible, but the one in the middle...
Open Graph Description: I have the problem that after importing seaborn, lines with markers do not show markers anymore. The following will first output a plot with a blue line and three markers (the two on the ends are b...
X Description: I have the problem that after importing seaborn, lines with markers do not show markers anymore. The following will first output a plot with a blue line and three markers (the two on the ends are b...
Mail addresses
notifications@github.com
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5156
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mpl.rcParams[\"lines.markeredgewidth\"] = 0 removes markers in lines?","articleBody":"I have the problem that after importing seaborn, lines with markers do not show markers anymore.\n\nThe following will first output a plot with a blue line and three markers (the two on the ends are barely visible, but the one in the middle is clearly there), but after importing seaborn, the markers are not anymore visible.\n\n``` python\nimport matplotlib.pyplot as plt\n%matplotlib inline\nplt.plot([1,2,3], marker=\"o\")\n# marker visible on the blue line\n# -- next cell\nimport seaborn as sns\nplt.plot([1,2,3], marker=\"o\")\n# No marker shown\n```\n\n I tracked that down to this diff in `mpl.rcParams`\n\n``` diff\n lines.marker: None\n-lines.markeredgewidth: 0.5\n-lines.markersize: 6.0\n-lines.solid_capstyle: projecting\n+lines.markeredgewidth: 0.0\n+lines.markersize: 7.0\n+lines.solid_capstyle: round\n lines.solid_joinstyle: round\n```\n\nSetting `lines.markeredgewidth` to 1 will again show the marker.\n\n``` python\nmpl.rcParams[\"lines.markeredgewidth\"] = 1\nplt.plot([1,2,3], marker=\"o\")\n# marker shown again\n```\n\nI tried to reproduce it on try.jupyter.org with the python2 kernel, but couldn't, despite the same mpl version (`matplotlib.__version__ == '1.4.3'`). My system is py2.7, win7, conda (matplotlib + seaborn updated to latest, but pandas/numpy a little older due to \"never change a running simulation\"...).\n","author":{"url":"https://github.com/jankatins","@type":"Person","name":"jankatins"},"datePublished":"2015-09-29T11:08:31Z","url":"https://github.com/matplotlib/matplotlib/issues/5156"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:d0bc69a7-672f-be02-6fb7-8f1b6a95919c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90D6:3AD124:1F1ED3C:2926C46:6B06932E |
| html-safe-nonce | e243b9f9012f10759cc7bffc27b987d4f24ca79e42f8d6ef5a1e3dd71a34990c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEQ2OjNBRDEyNDoxRjFFRDNDOjI5MjZDNDY6NkIwNjkzMkUiLCJ2aXNpdG9yX2lkIjoiMTcyMDk1MTgwOTEzNDQ2NTgzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb0b2bba6d983fb8dfbdf79ae603efa21920c1033999a590ce151f626497ce7b |
| hovercard-subject-tag | issue:108847589 |
| 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/5156/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbd9bc1cfe582bcd4c07655ad06e5ae0db20c6df9aee4cd0b55e149fb11a50bb/matplotlib/matplotlib/issues/5156 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbd9bc1cfe582bcd4c07655ad06e5ae0db20c6df9aee4cd0b55e149fb11a50bb/matplotlib/matplotlib/issues/5156 |
| og:image:alt | I have the problem that after importing seaborn, lines with markers do not show markers anymore. The following will first output a plot with a blue line and three markers (the two on the ends are b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jankatins |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width