Fix usetex_baseline_test.#16373
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
|
You must be on codecov’s naughty list ;-) |
tacaswell
left a comment
There was a problem hiding this comment.
Despite the name, this isn't actually a test but a demo in the docs.
|
@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): |
There was a problem hiding this comment.
Maybe use another name like LatexSubplot or similar to make it more explicit that this is something special and not to be confused with our regular subplot semantics.
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.
edd2237 to
9fa950c
Compare
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:


new:
PR Summary
PR Checklist