FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Deprecate text.latex.unicode. by anntzer · Pull Request #11255 · matplotlib/matplotlib · GitHub

Repository navigation

Deprecate text.latex.unicode. - #11255

Merged
dstansby merged 1 commit into
matplotlib:masterfrom
anntzer:text.latex.unicode
May 30, 2018
Merged

dstansby merged 1 commit into
matplotlib:masterfrom
anntzer:text.latex.unicode

Conversation

anntzer commented May 15, 2018

Copy link
Copy Markdown
Contributor

It is 2018 and Python3 is ruling the world; it is high time for usetex
to default to unicode support as well.

See https://tex.stackexchange.com/questions/13067/utf8x-vs-utf8-inputenc
https://groups.google.com/forum/?fromgroups=#!msg/comp.text.tex/4LC-xODb-LU/1Bd5UZOMNM4J
regarding why \usepackage[utf8]{inputenc} is better.

(If \usepackage[utf8]{inputenc} is irremediably breaking some users'
setups we can always revisit this decision.)

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

# matplotlib mailing list
text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling
# unicode strings.
# text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why is this commented out? Either we leave the setting for the classic style to False (maybe we should?), or we explicitly set it to True.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I decided to just delete them (given that the ultimate goal is to just get rid of the rcs, and that this should not change the result of any plot, just make more plots usetex-compilable).

It is 2018 and Python3 is ruling the world; it is high time for usetex
to default to unicode support as well.

(If ``\usepackage[utf8]{inputenc}`` is irremediably breaking some users'
setup we can always revisit this decision.)
anntzer force-pushed the text.latex.unicode branch from 9112b02 to e9a8120 Compare May 17, 2018 05:35
dstansby merged commit 5a3da1f into matplotlib:master May 30, 2018
dstansby added this to the v3.0 milestone May 30, 2018
anntzer deleted the text.latex.unicode branch May 30, 2018 17:49

efiring commented May 31, 2018

Copy link
Copy Markdown
Member

Would someone revert this ASAP, please? Or fix the problem it is causing, which is flooding the test output with deprecation warnings?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL