Title: mathtext mishandling of certain exponents · Issue #5864 · matplotlib/matplotlib · GitHub
Open Graph Title: mathtext mishandling of certain exponents · Issue #5864 · matplotlib/matplotlib
X Title: mathtext mishandling of certain exponents · Issue #5864 · matplotlib/matplotlib
Description: From the second example for twin axes in AxesGrid1, where the intent was probably to have a "seconds of angle" symbol: $ python Python 3.5.1 (default, Dec 7 2015, 12:58:09) [GCC 5.2.0] on linux Type "help", "copyright", "credits" or "lic...
Open Graph Description: From the second example for twin axes in AxesGrid1, where the intent was probably to have a "seconds of angle" symbol: $ python Python 3.5.1 (default, Dec 7 2015, 12:58:09) [GCC 5.2.0] on linux Typ...
X Description: From the second example for twin axes in AxesGrid1, where the intent was probably to have a "seconds of angle" symbol: $ python Python 3.5.1 (default, Dec 7 2015, 12:58:09) [GCC 5.2.0] on...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5864
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mathtext mishandling of certain exponents","articleBody":"From [the second example for twin axes in AxesGrid1](http://matplotlib.org/mpl_toolkits/axes_grid/users/overview.html#example-2-twin), where the intent was probably to have a \"seconds of angle\" symbol:\n\n```\n$ python\nPython 3.5.1 (default, Dec 7 2015, 12:58:09) \n[GCC 5.2.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import matplotlib.pyplot as plt; plt.gca().set_xlabel(\"$^{''}$/yr\"); plt.show()\n\u003cmatplotlib.text.Text object at 0x7f6451604f98\u003e\n```\n\n(same result from within ipython with `%matplotlib` active)\n\n\n\u003e EDIT: This part is invalid and should be ignored\n\u003e Weirdly enough, running the same command from with `python -c` a different result:\n\u003e \n\u003e ```\n\u003e $ python -c 'import matplotlib.pyplot as plt; plt.gca().set_xlabel(\"$^{''}$/yr\"); plt.show()'\n\u003e ```\n\u003e \n\u003e \n\u003e \n\u003e (checked without any matplotlibrc).\n\nPreempting @tacaswell to @zblz this time :-)\n","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2016-01-17T05:22:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/5864/matplotlib/issues/5864"}
| 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:60414cfa-144e-01ac-6fbd-e2b6a44e5b22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D508:2DCEA7:C09325:FE9674:6A532123 |
| html-safe-nonce | b859d703b4a60e067c75d585fc27fe712faef5c25d68dfde0f4d19aef77e6c7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTA4OjJEQ0VBNzpDMDkzMjU6RkU5Njc0OjZBNTMyMTIzIiwidmlzaXRvcl9pZCI6IjM1MDk2ODI5NjY2ODA3ODM3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a77c084fbad1da8409e0d287d131bd27bbebb00f1d3657c257aeaae6d706dea |
| hovercard-subject-tag | issue:127075504 |
| 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/5864/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ffd6b6c74431f747e94d5ddb428ad68068718cebfe6258c6b38c9ade8ddec751/matplotlib/matplotlib/issues/5864 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ffd6b6c74431f747e94d5ddb428ad68068718cebfe6258c6b38c9ade8ddec751/matplotlib/matplotlib/issues/5864 |
| og:image:alt | From the second example for twin axes in AxesGrid1, where the intent was probably to have a "seconds of angle" symbol: $ python Python 3.5.1 (default, Dec 7 2015, 12:58:09) [GCC 5.2.0] on linux Typ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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