Title: FIX: inset-axes not having proper transform by jklymak · Pull Request #10986 · matplotlib/matplotlib · GitHub
Open Graph Title: FIX: inset-axes not having proper transform by jklymak · Pull Request #10986 · matplotlib/matplotlib
X Title: FIX: inset-axes not having proper transform by jklymak · Pull Request #10986 · matplotlib/matplotlib
Description: PR Summary This should fix the issue noted in #10756 (comment) where #10756 didn't quite do the right thing. I went a step further and said bbox_to_anchor should always be a four-tuple. See #8952. Fixes the reversion in 2.2.2 so that this didn't work: import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1.inset_locator import inset_axes xdata, ydata = np.arange(8), np.arange(8) plt.figure(figsize=(6,3)) ax = plt.subplot(111) ax.plot(xdata, ydata) axins = inset_axes(ax, width=0.2, height=0.2, loc='upper left') Now works, tests pass, and examples look right. It may break other people's perceived ideas of what these functions are supposed to do. If so, please do report the issue, but in my mind the old state of things was pretty unclear.
Open Graph Description: PR Summary This should fix the issue noted in #10756 (comment) where #10756 didn't quite do the right thing. I went a step further and said bbox_to_anchor should always be a four-tuple. See #...
X Description: PR Summary This should fix the issue noted in #10756 (comment) where #10756 didn't quite do the right thing. I went a step further and said bbox_to_anchor should always be a four-tuple. S...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/10986
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fa3f85e9-4be4-63d8-b862-800366f2b3c8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B848:1857AC:16343:1E1BD:6A5327AB |
| html-safe-nonce | 4b16daf1177afaf9d95c28058fc942e461994ef43edc942f54a4c1f54ddfec11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODQ4OjE4NTdBQzoxNjM0MzoxRTFCRDo2QTUzMjdBQiIsInZpc2l0b3JfaWQiOiIyMTIwNzc4NzI4NTQ4MjgwMjM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 305db4702362b8aadf625e1ac95969d86d40421697364b5a751194be4dc783c9 |
| hovercard-subject-tag | pull_request:180136653 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/10986/files |
| twitter:image | https://avatars.githubusercontent.com/u/1562854?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1562854?s=400&v=4 |
| og:image:alt | PR Summary This should fix the issue noted in #10756 (comment) where #10756 didn't quite do the right thing. I went a step further and said bbox_to_anchor should always be a four-tuple. See #... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width