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

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

Repository navigation

Deprecate text.latex.unicode. - #11381

Merged
tacaswell merged 2 commits into
matplotlib:masterfrom
anntzer:text.latex.unicode
Jul 9, 2018
Merged

tacaswell merged 2 commits into
matplotlib:masterfrom
anntzer:text.latex.unicode

Conversation

anntzer commented Jun 5, 2018

Copy link
Copy Markdown
Contributor

Redo of #11255 (which was reverted in #11345) as the reason for the revert (the test suite being spammed by warnings) went away now that #11292 has been merged.

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

anntzer added this to the v3.0 milestone Jun 5, 2018

timhoffm commented Jun 6, 2018 •
edited
Loading

Copy link
Copy Markdown
Member

Travis says:

lib/matplotlib/tests/test_rcparams.py::test_rcparams
  /home/travis/build/matplotlib/matplotlib/lib/matplotlib/__init__.py:864: MatplotlibDeprecationWarning: text.latex.unicode is deprecated. Please remove it from your matplotlibrc and/or style files.
    mplDeprecation)
  /home/travis/build/matplotlib/matplotlib/lib/matplotlib/__init__.py:864: MatplotlibDeprecationWarning: text.latex.unicode is deprecated. Please remove it from your matplotlibrc and/or style files.
    mplDeprecation)
  /home/travis/build/matplotlib/matplotlib/lib/matplotlib/__init__.py:864: MatplotlibDeprecationWarning: text.latex.unicode is deprecated. Please remove it from your matplotlibrc and/or style files.
    mplDeprecation)

lib/matplotlib/tests/test_style.py::test_alias[mpl20]
  /home/travis/build/matplotlib/matplotlib/lib/matplotlib/__init__.py:864: MatplotlibDeprecationWarning: text.latex.unicode is deprecated. Please remove it from your matplotlibrc and/or style files.
    mplDeprecation)

Can we get rid of that warning?

anntzer force-pushed the text.latex.unicode branch from a76eaba to d3ab158 Compare June 7, 2018 06:52

anntzer commented Jun 7, 2018

Copy link
Copy Markdown
Contributor Author

fixed

anntzer commented Jun 19, 2018

Copy link
Copy Markdown
Contributor Author

rebased

tacaswell modified the milestones: v3.0, v3.1 Jul 8, 2018

Copy link
Copy Markdown
Member

Sorry, going back and forth on moving this to 3.1.

Is this a macro that is guaranteed to be in any latex distribution (forgive my ignorance? From the links on #11255 it looks like the answer is yes).

@anntzer This needs a rebase.

tacaswell left a comment

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

Conditional on a rebase and confirmation that we expect all reasonable latex installations to have the inputenc package installed.

anntzer commented Jul 8, 2018

Copy link
Copy Markdown
Contributor Author

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 commented Jul 8, 2018

Copy link
Copy Markdown
Contributor Author

rebased

anntzer force-pushed the text.latex.unicode branch from 0e611f9 to 0805c57 Compare July 8, 2018 20:12
Comment thread lib/matplotlib/__init__.py Outdated
'axes.hold': ('2.1',),
'backend.qt4': ('2.2',),
'backend.qt5': ('2.2',),
'text.latex.unicde': ('3.0',),

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

unicode

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

indeed, fixed

anntzer force-pushed the text.latex.unicode branch from 0805c57 to 70f16f3 Compare July 8, 2018 21:21
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL