Title: Inconsistent handling of whitespace with LaTeX · Issue #4954 · matplotlib/matplotlib · GitHub
Open Graph Title: Inconsistent handling of whitespace with LaTeX · Issue #4954 · matplotlib/matplotlib
X Title: Inconsistent handling of whitespace with LaTeX · Issue #4954 · matplotlib/matplotlib
Description: Hi matplotlib developers, I noticed some inconstancies regarding text rendering with usetex=True. I placed the following text with plt.text() in my plot. begin{eqnarray*} \phi &=& 1.00 \pm 0.10 \\ a &=& 3.00 \pm 0.30 m \\ \frac{\chi^2}{n...
Open Graph Description: Hi matplotlib developers, I noticed some inconstancies regarding text rendering with usetex=True. I placed the following text with plt.text() in my plot. begin{eqnarray*} \phi &=& 1.00 \pm 0.10 \\ ...
X Description: Hi matplotlib developers, I noticed some inconstancies regarding text rendering with usetex=True. I placed the following text with plt.text() in my plot. begin{eqnarray*} \phi &=& 1.00 \pm ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4954
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent handling of whitespace with LaTeX","articleBody":"Hi matplotlib developers,\n\nI noticed some inconstancies regarding text rendering with `usetex=True`.\nI placed the following text with `plt.text()` in my plot.\n\n```\nbegin{eqnarray*}\n\\phi \u0026=\u0026 1.00 \\pm 0.10 \\\\\na \u0026=\u0026 3.00 \\pm 0.30 m \\\\\n\\frac{\\chi^2}{ndof} \u0026=\u0026 1.13\n\\end{eqnarray*}\n```\n\nIf the plot is saved as `.png` or `.pdf`, the whitespace around the equal signs is to big:\n\u003cimg width=\"288\" alt=\"bildschirmfoto 2015-08-18 um 20 34 40\" src=\"https://cloud.githubusercontent.com/assets/13285808/9339720/e73f6312-45eb-11e5-951c-8c2c49813cc7.png\"\u003e\n\nIf saved as `.svg` everything looks good:\n\u003cimg width=\"235\" alt=\"bildschirmfoto 2015-08-18 um 20 34 27\" src=\"https://cloud.githubusercontent.com/assets/13285808/9339772/3106774c-45ec-11e5-9719-f052636401b3.png\"\u003e\n\nIt would be great if whitespace would be consistent in all file formats.\nA possibility to align text without LaTeX would also be greatly appreciated.\n\nThanks\n","author":{"url":"https://github.com/lgeiger","@type":"Person","name":"lgeiger"},"datePublished":"2015-08-18T19:34:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4954/matplotlib/issues/4954"}
| 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:7c78e425-0429-88e3-49d8-44bb887d34e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6EC:1F2FB0:7B2FEF:A4DE8B:6A5271A0 |
| html-safe-nonce | 48b168142f2eea0dbf24502bc082b82ada528570d4b2539a052780cb84d236bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkVDOjFGMkZCMDo3QjJGRUY6QTRERThCOjZBNTI3MUEwIiwidmlzaXRvcl9pZCI6IjE1Mzc5NzM4MTg3OTY1Njg2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c9ddbb24fba275e3676c806ddd45a1a9a6340ff9a979b7c5e41dfbd050f77cdb |
| hovercard-subject-tag | issue:101732479 |
| 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/4954/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97689a15f50f065dec11ced0a885bf1c55f754b0c55b419683849481225cd2ed/matplotlib/matplotlib/issues/4954 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97689a15f50f065dec11ced0a885bf1c55f754b0c55b419683849481225cd2ed/matplotlib/matplotlib/issues/4954 |
| og:image:alt | Hi matplotlib developers, I noticed some inconstancies regarding text rendering with usetex=True. I placed the following text with plt.text() in my plot. begin{eqnarray*} \phi &=& 1.00 \pm 0.10 \\ ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lgeiger |
| 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