Title: [Doc]: quiver 3d does not support "mid" as an alias for "middle", but quiver 2d does · Issue #31127 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: quiver 3d does not support "mid" as an alias for "middle", but quiver 2d does · Issue #31127 · matplotlib/matplotlib
X Title: [Doc]: quiver 3d does not support "mid" as an alias for "middle", but quiver 2d does · Issue #31127 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.quiver.Quiver.html#matplotlib.quiver.Quiver Problem The documentation states that "mid" can be used as a synonym for "middle" however this is not implemented in the...
Open Graph Description: Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.quiver.Quiver.html#matplotlib.quiver.Quiver Problem The documentation states that "mid" can be used as a synonym for "middle...
X Description: Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.quiver.Quiver.html#matplotlib.quiver.Quiver Problem The documentation states that "mid" can be used as a synonym f...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31127
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: quiver 3d does not support \"mid\" as an alias for \"middle\", but quiver 2d does","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/devdocs/api/_as_gen/matplotlib.quiver.Quiver.html#matplotlib.quiver.Quiver\n\n### Problem\n\nThe documentation states that \"mid\" can be used as a synonym for \"middle\" however this is not implemented in the code: \n\n```\nTraceback (most recent call last):\n File \"c:\\Users\\mean\\OneDrive - COWI\\Documents\\04_code\\triaxial_concrete_complementary_energy\\example.py\", line 147, in \u003cmodule\u003e\n plot_stress_axes(mat, ax, ttl)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\n File \"c:\\Users\\mean\\OneDrive - COWI\\Documents\\04_code\\triaxial_concrete_complementary_energy\\example.py\", line 120, in plot_stress_axes\n ax.quiver(\n ~~~~~~~~~^\n 0,\n ^^\n ...\u003c8 lines\u003e...\n pivot=\"mid\",\n ^^^^^^^^^^^^\n )\n ^\n File \"C:\\code\\python_venvs\\triax_concrete\\Lib\\site-packages\\matplotlib\\__init__.py\", line 1524, in inner\n return func(\n ax,\n *map(cbook.sanitize_sequence, args),\n **{k: cbook.sanitize_sequence(v) for k, v in kwargs.items()})\n File \"C:\\code\\python_venvs\\triax_concrete\\Lib\\site-packages\\mpl_toolkits\\mplot3d\\axes3d.py\", line 3298, in quiver\n _api.check_in_list(['tail', 'middle', 'tip'], pivot=pivot)\n ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\code\\python_venvs\\triax_concrete\\Lib\\site-packages\\matplotlib\\_api\\__init__.py\", line 144, in check_in_list\n raise ValueError(msg)\nValueError: 'mid' is not a valid value for pivot; supported values are 'tail', 'middle', 'tip'\n```\n\n### Suggested improvement\n\nRemove \"mid\" as an option in the docs\n\nBefore:\n```python\npivot : {'tail', 'mid', 'middle', 'tip'}, default: 'tail'\n The part of the arrow that is anchored to the *X*, *Y* grid. The arrow\n rotates about this point.\n\n 'mid' is a synonym for 'middle'.\n```\n\n```python\npivot : {'tail', 'middle', 'tip'}, default: 'tail'\n The part of the arrow that is anchored to the *X*, *Y* grid. The arrow\n rotates about this point.\n```","author":{"url":"https://github.com/MEMAndersen","@type":"Person","name":"MEMAndersen"},"datePublished":"2026-02-10T08:06:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/31127/matplotlib/issues/31127"}
| 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:ebb7af4f-f4c4-310a-5b24-cd13d6ba543c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFCE:12A7C8:27A6A5:34DFD8:6A518A1A |
| html-safe-nonce | 43f2a3d401b3f18968e8428e3d6315565448d63e58c57ccd883d2d283b9229d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkNFOjEyQTdDODoyN0E2QTU6MzRERkQ4OjZBNTE4QTFBIiwidmlzaXRvcl9pZCI6IjM3MzY3MzM3NTk2MTkzMDM5NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9bddcc494e00c3de561e02546ea81bd8167806f0408579fbec29c2dfc5828752 |
| hovercard-subject-tag | issue:3920030235 |
| 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/31127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44aea94b020d3643dc3262cfcacf57b8d8c08b0e03bebeda7ee81e1c7facec00/matplotlib/matplotlib/issues/31127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44aea94b020d3643dc3262cfcacf57b8d8c08b0e03bebeda7ee81e1c7facec00/matplotlib/matplotlib/issues/31127 |
| og:image:alt | Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.quiver.Quiver.html#matplotlib.quiver.Quiver Problem The documentation states that "mid" can be used as a synonym for "middle... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MEMAndersen |
| 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 | cb77a7b8b06cd86c243be33fd8e7922d70a9d243 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width