Title: scatter and date auto-lim far too wide.... · Issue #13639 · matplotlib/matplotlib · GitHub
Open Graph Title: scatter and date auto-lim far too wide.... · Issue #13639 · matplotlib/matplotlib
X Title: scatter and date auto-lim far too wide.... · Issue #13639 · matplotlib/matplotlib
Description: Bug report import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.DataFrame({'Depth': [0.2, 0.4, 0.4, 0.4, 0.4, 0.4, 0.6, 0.4, 3.2, 2.0], 'DateTimeUTC': [pd.Timestamp('2018-03-28 06:25:08'), pd.Timestamp('2018-03-...
Open Graph Description: Bug report import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.DataFrame({'Depth': [0.2, 0.4, 0.4, 0.4, 0.4, 0.4, 0.6, 0.4, 3.2, 2.0], 'DateTimeUTC': [pd.Timestamp('2018-...
X Description: Bug report import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.DataFrame({'Depth': [0.2, 0.4, 0.4, 0.4, 0.4, 0.4, 0.6, 0.4, 3.2, 2.0], 'DateTimeUTC': [pd....
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/13639
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"scatter and date auto-lim far too wide....","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```python\r\nimport pandas as pd\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\ndf = pd.DataFrame({'Depth': [0.2, 0.4, 0.4, 0.4, 0.4, 0.4, 0.6, 0.4, 3.2, 2.0],\r\n 'DateTimeUTC': [pd.Timestamp('2018-03-28 06:25:08'),\r\n pd.Timestamp('2018-03-28 06:25:49'),\r\n pd.Timestamp('2018-03-28 06:27:06'),\r\n pd.Timestamp('2018-03-28 06:32:11'),\r\n pd.Timestamp('2018-03-28 06:32:59'),\r\n pd.Timestamp('2018-03-28 06:34:02'),\r\n pd.Timestamp('2018-03-28 06:35:38'),\r\n pd.Timestamp('2018-03-28 06:37:04'),\r\n pd.Timestamp('2018-03-28 06:39:08'),\r\n pd.Timestamp('2018-03-28 06:40:52')]})\r\n\r\nx = np.asarray(df['DateTimeUTC'])\r\ny = np.asarray(df['Depth'])\r\n\r\nfig, axs = plt.subplots(2, 1)\r\n\r\n\r\nax = axs[0]\r\nax.scatter(x, y)\r\nax.set_title(\"using scatter\")\r\n\r\nax = axs[1]\r\nax.plot(x, y)\r\nax.set_title(\"Using plot\")\r\n\r\nfig.tight_layout()\r\nplt.show()\r\n```\r\n\r\n\r\n\r\n\r\n\r\n**Matplotlib version**\r\n * Matplotlib version: master\r\n","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2019-03-09T00:27:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/13639/matplotlib/issues/13639"}
| 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:bb2ff20b-a63d-9096-975e-6ef034709907 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B57C:2818E8:1BD882B:252D791:6A52D785 |
| html-safe-nonce | 2d0e36fc2434b2bee0bdc28a57fa36acb3ae77d9ac1a38ec74e60d693966fc22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTdDOjI4MThFODoxQkQ4ODJCOjI1MkQ3OTE6NkE1MkQ3ODUiLCJ2aXNpdG9yX2lkIjoiMjU3MzQ1Njc2MTMxODgyODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 86f40c0f557303b2ec2bfcc60d1f2a21d6e2c23a35c604b9ea9c61463eb0cbb6 |
| hovercard-subject-tag | issue:419008673 |
| 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/13639/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98f07b460a341a377be50d893350aada4bafd35e53c1f7652e7da50d91d4c19f/matplotlib/matplotlib/issues/13639 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98f07b460a341a377be50d893350aada4bafd35e53c1f7652e7da50d91d4c19f/matplotlib/matplotlib/issues/13639 |
| og:image:alt | Bug report import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.DataFrame({'Depth': [0.2, 0.4, 0.4, 0.4, 0.4, 0.4, 0.6, 0.4, 3.2, 2.0], 'DateTimeUTC': [pd.Timestamp('2018-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| 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