Title: scatter shows square marker instead of pixel · Issue #11460 · matplotlib/matplotlib · GitHub
Open Graph Title: scatter shows square marker instead of pixel · Issue #11460 · matplotlib/matplotlib
X Title: scatter shows square marker instead of pixel · Issue #11460 · matplotlib/matplotlib
Description: Bug report scatter() shows square instead of pixel for marker symbol "," (comma) When specifying marker=',' with scatter, the plotted marker is a square (same as marker='s'). According to documentation, and the behaviour of pyplot.plot()...
Open Graph Description: Bug report scatter() shows square instead of pixel for marker symbol "," (comma) When specifying marker=',' with scatter, the plotted marker is a square (same as marker='s'). According to documenta...
X Description: Bug report scatter() shows square instead of pixel for marker symbol "," (comma) When specifying marker=',' with scatter, the plotted marker is a square (same as marker='s'...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11460
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"scatter shows square marker instead of pixel","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**scatter() shows square instead of pixel for marker symbol \",\" (comma)**\r\n\r\nWhen specifying marker=',' with scatter, the plotted marker is a square (same as marker='s'). According to documentation, and the behaviour of pyplot.plot(), it should be a pixel.\r\n\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n```python\r\nfrom matplotlib import pyplot as plt\r\nplt.scatter([1, 2, 3], [4, 5, 6], marker=',')\r\nplt.show()\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\nPlot with square markers.\r\n\r\n**Expected outcome**\r\n\r\nPlot with pixel markers.\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Windows 7\r\n * Matplotlib version: 2.0.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg\r\n * Python version: 3.6.0\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\nconda default channel.\r\n\r\nThis problem is also present in older version: mpl 1.4.3 on Python 2.7.10.","author":{"url":"https://github.com/subhacom","@type":"Person","name":"subhacom"},"datePublished":"2018-06-19T22:08:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":29},"url":"https://github.com/11460/matplotlib/issues/11460"}
| 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:1dff8655-3d54-5cc8-ec17-f825d9c786ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F2A:1ECC24:1B4B3C9:244E547:6A52D167 |
| html-safe-nonce | 8bb4c7680c0e4ce8db4309385fc28f8c0f8fb3b7b66ef73308da6fcd75ed74fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjJBOjFFQ0MyNDoxQjRCM0M5OjI0NEU1NDc6NkE1MkQxNjciLCJ2aXNpdG9yX2lkIjoiODkxOTcyNjI0MzE3NzQ4NDY0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4dd7a4b1959d457ad0575f255463e72dfc8da2f461e419f57492df0354798c0e |
| hovercard-subject-tag | issue:333856812 |
| 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/11460/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72c7d483bcafa1f2592a9c306db9de82ae737cdeb0396eb97d0f2a930442e53f/matplotlib/matplotlib/issues/11460 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72c7d483bcafa1f2592a9c306db9de82ae737cdeb0396eb97d0f2a930442e53f/matplotlib/matplotlib/issues/11460 |
| og:image:alt | Bug report scatter() shows square instead of pixel for marker symbol "," (comma) When specifying marker=',' with scatter, the plotted marker is a square (same as marker='s'). According to documenta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | subhacom |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width