Title: Plot directive may be confused by ..include:: · Issue #17860 · matplotlib/matplotlib · GitHub
Open Graph Title: Plot directive may be confused by ..include:: · Issue #17860 · matplotlib/matplotlib
X Title: Plot directive may be confused by ..include:: · Issue #17860 · matplotlib/matplotlib
Description: Bug report In our docs, we have users/whats_new.rst that does .. include:: prev_whats_new/whats_new_3.3.0.rst. For any plot directives, this latter file creates files like build/plot_directive/users/prev_whats_new/whats_new_3-3-0-*.*. So...
Open Graph Description: Bug report In our docs, we have users/whats_new.rst that does .. include:: prev_whats_new/whats_new_3.3.0.rst. For any plot directives, this latter file creates files like build/plot_directive/user...
X Description: Bug report In our docs, we have users/whats_new.rst that does .. include:: prev_whats_new/whats_new_3.3.0.rst. For any plot directives, this latter file creates files like build/plot_directive/user...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17860
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plot directive may be confused by ..include::","articleBody":"### Bug report\r\n\r\nIn our docs, we have `users/whats_new.rst` that does `.. include:: prev_whats_new/whats_new_3.3.0.rst`.\r\n\r\nFor any `plot` directives, this latter file creates files like `build/plot_directive/users/prev_whats_new/whats_new_3-3-0-*.*`. Somehow this also gets copied to `build/plot_directive/users/whats_new-*.*`. Then in the final docs (in `build/html`), this ends up in coming from `_images/whats_new-*.*`. I don't really understand why that third copy is made, since the other two still exist in `build/html`, but whatever.\r\n\r\nThe problem occurs when you update plots in `whats_new_3.3.0.rst`. Only the first image is updated, and nothing is copied to the second or third locations.\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: Fedora 31\r\n * Matplotlib version: master (actually, head of #17858)\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: 3.7.6\r\n * Other libraries: Sphinx 3.1.2","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2020-07-08T22:01:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/17860/matplotlib/issues/17860"}
| 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:f79a3772-f17a-4dee-8add-cea59a97b2a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9584:3C82F7:1C4FAE:2655F1:6A5286D6 |
| html-safe-nonce | b72ed7359609ac90453a99a467f8a9696740c7c8c885e61b9efd1d2a04e2164d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTg0OjNDODJGNzoxQzRGQUU6MjY1NUYxOjZBNTI4NkQ2IiwidmlzaXRvcl9pZCI6IjI5Nzg0ODg3NTI3MzU5NDY0NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | edea7579b0e7120d38f7638fb50005e7190ed15987936e31bbda4e444051fb0e |
| hovercard-subject-tag | issue:653624554 |
| 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/17860/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce98ba0f313140a9f0b09665aca4528c02ca6b1f3162bb0d95a2a0b76a402880/matplotlib/matplotlib/issues/17860 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce98ba0f313140a9f0b09665aca4528c02ca6b1f3162bb0d95a2a0b76a402880/matplotlib/matplotlib/issues/17860 |
| og:image:alt | Bug report In our docs, we have users/whats_new.rst that does .. include:: prev_whats_new/whats_new_3.3.0.rst. For any plot directives, this latter file creates files like build/plot_directive/user... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| 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