Title: type1ec.sty needed for TeX output of plots. Not a standard texlive · Issue #16911 · matplotlib/matplotlib · GitHub
Open Graph Title: type1ec.sty needed for TeX output of plots. Not a standard texlive · Issue #16911 · matplotlib/matplotlib
X Title: type1ec.sty needed for TeX output of plots. Not a standard texlive · Issue #16911 · matplotlib/matplotlib
Description: Bug report Bug summary type1ec.sty not found. I have never encountered this before v3.2.1. Standard texlive (apt install texlive-latex-extra) does not come with this (only type1cm.sty). Code for reproduction import numpy as np import mat...
Open Graph Description: Bug report Bug summary type1ec.sty not found. I have never encountered this before v3.2.1. Standard texlive (apt install texlive-latex-extra) does not come with this (only type1cm.sty). Code for re...
X Description: Bug report Bug summary type1ec.sty not found. I have never encountered this before v3.2.1. Standard texlive (apt install texlive-latex-extra) does not come with this (only type1cm.sty). Code for re...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/16911
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"type1ec.sty needed for TeX output of plots. Not a standard texlive","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\n`type1ec.sty` not found. I have never encountered this before v3.2.1. Standard texlive (`apt install texlive-latex-extra`) does not come with this (only `type1cm.sty`).\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug.\r\nPlease make sure to minimize the number of dependencies required, and provide\r\nany necessary plotted data.\r\nAvoid using threads, as Matplotlib is (explicitly) not thread-safe.--\u003e\r\n\r\n```python\r\nimport numpy as np\r\nimport matplotlib\r\nmatplotlib.rcParams['pgf.texsystem'] = 'pdflatex'\r\nmatplotlib.rcParams.update({'font.family': 'serif', 'font.size': 18,\r\n 'axes.labelsize': 20,'axes.titlesize': 24, 'figure.titlesize' : 28})\r\nmatplotlib.rcParams['text.usetex'] = True\r\nimport matplotlib.pyplot as plt\r\n\r\nfig, ax = plt.subplots(1,1)\r\nx = np.random.norm(0,1)\r\ny = np.random.norm(0,2)\r\nax.plot(x,y, label='a label')\r\nax.legend(fontsize=15)\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\nSorry for the short description, \r\n```\r\n...\r\ntype1ec.sty not found.\r\n...\r\n```\r\n\r\n**Expected outcome**\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e Expected no problems with plotting. `fontsize=12` runs on some choices of label. Labels with a single character also produce no error...\r\n\r\n**Fix**\r\non linux: `apt install cm-super`.\r\n\r\nIs it now necessary to have cm-supper for plotting TeX? \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: Linux (Ubuntu 19.10)\r\n * Matplotlib version: 3.2.1\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): `module://ipykernel.pylab.backend_inline` (seems strange to me)\r\n * Python version: 3.7.6\r\n * Jupyter version (if applicable): 6.0.3\r\n * Other libraries: \r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/LRydin","@type":"Person","name":"LRydin"},"datePublished":"2020-03-26T07:32:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/16911/matplotlib/issues/16911"}
| 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:7f5a27f6-f970-bc3b-bdeb-a79ca1fa290e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE08:362E85:14FCD0E:1C6A9C1:6A545EEA |
| html-safe-nonce | 9b59c19c42189d42f22d6634f10e7e796401fe345765f013ee9b6b3bd1483d43 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTA4OjM2MkU4NToxNEZDRDBFOjFDNkE5QzE6NkE1NDVFRUEiLCJ2aXNpdG9yX2lkIjoiMzYyMTQ4MDM2OTUyMDY2NDI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 975b2d70490d03892bb06c551c6f18a834943f34f2958df8f962d9318b1a63ac |
| hovercard-subject-tag | issue:588213385 |
| 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/16911/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e8e9a43600a20a2a64d4e25874a603c890dbfe6c4e07e0284664105e848b7eb/matplotlib/matplotlib/issues/16911 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e8e9a43600a20a2a64d4e25874a603c890dbfe6c4e07e0284664105e848b7eb/matplotlib/matplotlib/issues/16911 |
| og:image:alt | Bug report Bug summary type1ec.sty not found. I have never encountered this before v3.2.1. Standard texlive (apt install texlive-latex-extra) does not come with this (only type1cm.sty). Code for re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LRydin |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width