Title: [ENH]: consistent behaviour for stem · Issue #23127 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: consistent behaviour for stem · Issue #23127 · matplotlib/matplotlib
X Title: [ENH]: consistent behaviour for stem · Issue #23127 · matplotlib/matplotlib
Description: Problem stem and plot should be interchangeable. from matplotlib.pylab import * style.use(['bmh', 'dark_background']) a = randn(5) b = randn(5) Plotting two lines plot(a) plot(b) Choosing the colours plot(a, 'r') plot(b, 'b') Now with st...
Open Graph Description: Problem stem and plot should be interchangeable. from matplotlib.pylab import * style.use(['bmh', 'dark_background']) a = randn(5) b = randn(5) Plotting two lines plot(a) plot(b) Choosing the colou...
X Description: Problem stem and plot should be interchangeable. from matplotlib.pylab import * style.use(['bmh', 'dark_background']) a = randn(5) b = randn(5) Plotting two lines plot(a) plot(b) Ch...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23127
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: consistent behaviour for stem","articleBody":"### Problem\n\n`stem` and `plot` should be interchangeable.\r\n\r\n```python\r\nfrom matplotlib.pylab import *\r\nstyle.use(['bmh', 'dark_background'])\r\na = randn(5)\r\nb = randn(5)\r\n```\r\n\r\n# Plotting two lines\r\n```python\r\nplot(a)\r\nplot(b)\r\n```\r\n\r\n\r\n# Choosing the colours\r\n```python\r\nplot(a, 'r')\r\nplot(b, 'b')\r\n```\r\n\r\n\r\n# Now with stem\r\n```python\r\nstem(a)\r\nstem(b)\r\n```\r\n\r\n\r\nSame colour? Why? Which one is which???\r\n\r\n# Okay, let me choose the colours\r\n```python\r\nstem(a, 'r')\r\nstem(b, 'b')\r\n```\r\nERROR!\n\n### Proposed solution\n\nShare the same basic syntax across functions visualising the same type of data?","author":{"url":"https://github.com/Atcold","@type":"Person","name":"Atcold"},"datePublished":"2022-05-24T19:05:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/23127/matplotlib/issues/23127"}
| 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:1f115793-2b7b-b11c-0a84-556789fb6e06 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E898:1D19FE:9A241D:D0BF76:6A520135 |
| html-safe-nonce | c0e3b18047321b71c8998d8dfa55f0100525762a691d5ff8a8c8b175fdcb9511 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODk4OjFEMTlGRTo5QTI0MUQ6RDBCRjc2OjZBNTIwMTM1IiwidmlzaXRvcl9pZCI6IjI2MjcxMzc2MTM1NTUzMzMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0902e383e4ef49de6fcaee742c65b98c950deda4013be03e58b92e269e804d91 |
| hovercard-subject-tag | issue:1247010292 |
| 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/23127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db4fcf0cb6adc24d5389cee39d960e9bb5d6d9bc0ff9ea822d69f06237183be2/matplotlib/matplotlib/issues/23127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db4fcf0cb6adc24d5389cee39d960e9bb5d6d9bc0ff9ea822d69f06237183be2/matplotlib/matplotlib/issues/23127 |
| og:image:alt | Problem stem and plot should be interchangeable. from matplotlib.pylab import * style.use(['bmh', 'dark_background']) a = randn(5) b = randn(5) Plotting two lines plot(a) plot(b) Choosing the colou... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Atcold |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width