Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix usetex_baseline_test.#16373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 1 commit intomatplotlib:masterfromanntzer:usetex-baseline-test
Feb 11, 2020

Conversation

anntzer
Copy link
Contributor

The previous version didn't actually compare usetex=False and
usetex=True because usetex state is stored in the text instance, so fix
that. (The custom axes subclass remains necessary to compare
text.latex.preview=False and =True.)

Also misc. cleanups.

old:
old
new:
new

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 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

@codecov
Copy link

codecovbot commentedJan 30, 2020

Codecov Report

Merging#16373 intomaster willdecrease coverage by0.40%.
The diff coverage isn/a.

Impacted file tree graph

@@            Coverage Diff             @@##           master   #16373      +/-   ##==========================================- Coverage   80.85%   80.45%   -0.41%==========================================  Files         307      307                Lines       75745    74403    -1342       Branches     9690     9686       -4     ==========================================- Hits        61245    59859    -1386- Misses      11961    11996      +35- Partials     2539     2548       +9
Impacted FilesCoverage Δ
lib/matplotlib/backends/backend_macosx.py4.54% <0.00%> (-36.12%)⬇️
lib/matplotlib/tests/test_font_manager.py85.21% <0.00%> (-6.59%)⬇️
lib/matplotlib/testing/jpl_units/StrConverter.py15.55% <0.00%> (-5.28%)⬇️
lib/matplotlib/testing/jpl_units/EpochConverter.py69.69% <0.00%> (-4.67%)⬇️
lib/matplotlib/tests/test_backends_interactive.py87.75% <0.00%> (-4.41%)⬇️
lib/matplotlib/docstring.py65.00% <0.00%> (-3.19%)⬇️
lib/matplotlib/backends/qt_compat.py48.42% <0.00%> (-3.16%)⬇️
...b/matplotlib/testing/jpl_units/UnitDblConverter.py65.85% <0.00%> (-2.33%)⬇️
lib/matplotlib/backend_managers.py20.95% <0.00%> (-2.30%)⬇️
lib/matplotlib/font_manager.py73.73% <0.00%> (-1.55%)⬇️
... and152 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatee4dbf4e...edd2237. Read thecomment docs.

@jklymak
Copy link
Member

You must be on codecov’s naughty list ;-)

@tacaswelltacaswell added this to thev3.3.0 milestoneFeb 3, 2020
@anntzeranntzer mentioned this pull requestFeb 5, 2020
6 tasks
Copy link
Member

@tacaswelltacaswell left a comment

Choose a reason for hiding this comment

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

Despite the name, this isn't actually a test but a demo in the docs.

@anntzer
Copy link
ContributorAuthor

@tacaswell good to go? I have a followup PR which actually fixes the baseline problem in all cases :p

class Axes(maxes.Axes):

@maxes.subplot_class_factory
class Subplot(maxes.Axes):
Copy link
Member

Choose a reason for hiding this comment

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

Maybe use another name likeLatexSubplot or similar to make it more explicit that this is something special and not to be confused with our regular subplot semantics.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

done

The previous version didn't actually compare usetex=False andusetex=True because usetex state is stored in the text instance, so fixthat.  (The custom axes subclass remains necessary to comparetext.latex.preview=False and =True.)Also misc. cleanups.
@timhoffmtimhoffm merged commit1cbb4cc intomatplotlib:masterFeb 11, 2020
@anntzeranntzer deleted the usetex-baseline-test branchFebruary 11, 2020 23:44
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.3.0
Development

Successfully merging this pull request may close these issues.

4 participants
@anntzer@jklymak@tacaswell@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp