Title: 2.6.x Plot the Discharge against time gives Warning · Issue #86 · IBM/visualize-data-with-python · GitHub
Open Graph Title: 2.6.x Plot the Discharge against time gives Warning · Issue #86 · IBM/visualize-data-with-python
X Title: 2.6.x Plot the Discharge against time gives Warning · Issue #86 · IBM/visualize-data-with-python
Description: plt.plot(df['datetime'],df['Discharge(cfs)']) plt.title('Houston Flood discharge at Hunting Bayou stream gauge') plt.ylabel('Discharge(cfs)') plt.xlabel('datetime') ax = plt.gca() df.set_index('datetime') # Only label every 20th value ti...
Open Graph Description: plt.plot(df['datetime'],df['Discharge(cfs)']) plt.title('Houston Flood discharge at Hunting Bayou stream gauge') plt.ylabel('Discharge(cfs)') plt.xlabel('datetime') ax = plt.gca() df.set_index('dat...
X Description: plt.plot(df['datetime'],df['Discharge(cfs)']) plt.title('Houston Flood discharge at Hunting Bayou stream gauge') plt.ylabel('Discharge(cfs)') plt.xlabel('datetim...
Opengraph URL: https://github.com/IBM/visualize-data-with-python/issues/86
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"2.6.x Plot the Discharge against time gives Warning","articleBody":"```# setup line graph\r\nplt.plot(df['datetime'],df['Discharge(cfs)'])\r\nplt.title('Houston Flood discharge at Hunting Bayou stream gauge')\r\nplt.ylabel('Discharge(cfs)')\r\nplt.xlabel('datetime')\r\nax = plt.gca()\r\ndf.set_index('datetime')\r\n\r\n# Only label every 20th value\r\nticks_to_use = df.index[::100]\r\n# label ticks per day\r\ndr = pd.date_range('2017-08-23', periods=9, freq='D')\r\n\r\n## Now set the ticks and labels\r\nax.set_xticks(ticks_to_use)\r\nax.set_xticklabels(dr)\r\nplt.xticks(rotation='vertical')\r\n\r\nplt.show()\r\n``` \r\n\r\nyields:\r\n\r\n\r\n```/Users/scott/.pyenv/versions/3.6.5/lib/python3.6/site-packages/matplotlib/font_manager.py:1241: UserWarning: findfont: Font family ['serif'] not found. Falling back to DejaVu Sans.\r\n (prop.get_family(), self.defaultFamily[fontext]))```","author":{"url":"https://github.com/scottdangelo","@type":"Person","name":"scottdangelo"},"datePublished":"2019-10-08T15:50:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/86/visualize-data-with-python/issues/86"}
| 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:c3b8f809-8913-3949-31f5-dadf85e5de1e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D218:328478:C52C2F:109964C:6A4C5856 |
| html-safe-nonce | cbe64013b60acfdb5bd2328ec3626b6634ef2958d9fbe70b00dbb442b8207a21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjE4OjMyODQ3ODpDNTJDMkY6MTA5OTY0Qzo2QTRDNTg1NiIsInZpc2l0b3JfaWQiOiIzMDcwMjcwMzgyNzg0OTI3ODMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 94459dfc09588df5b3c0debbbc202352960269bd51f67c47ee9fb69b4a5b0400 |
| hovercard-subject-tag | issue:504128859 |
| 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/IBM/visualize-data-with-python/86/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81ce203ff8636ebb7437dd781b2debe86bc1c24cbe0327e69295a906845e0991/IBM/visualize-data-with-python/issues/86 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81ce203ff8636ebb7437dd781b2debe86bc1c24cbe0327e69295a906845e0991/IBM/visualize-data-with-python/issues/86 |
| og:image:alt | plt.plot(df['datetime'],df['Discharge(cfs)']) plt.title('Houston Flood discharge at Hunting Bayou stream gauge') plt.ylabel('Discharge(cfs)') plt.xlabel('datetime') ax = plt.gca() df.set_index('dat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | scottdangelo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/IBM/visualize-data-with-python git https://github.com/IBM/visualize-data-with-python.git |
| octolytics-dimension-user_id | 1459110 |
| octolytics-dimension-user_login | IBM |
| octolytics-dimension-repository_id | 94127759 |
| octolytics-dimension-repository_nwo | IBM/visualize-data-with-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 94127759 |
| octolytics-dimension-repository_network_root_nwo | IBM/visualize-data-with-python |
| 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 | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width