question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matplotlib 3.1.1 impacts some visual tests

See original GitHub issue

Matplotlib 3.1.1 (released on July 1, 2019) broke some of our tests, particularly the Rank2D tests with very big RMSE (~40) and very different diff images. For now in in #907 I have regenerated the baseline images for Rank2D so that our tests will pass on Travis and Appveyor, but I have not changed the tests/requirements.txt (except to note this strange behavior). Running the tests with matplotlib==3.1.0 will result in image comparison failures for Rank2D. We should investigate what the behavior is for other matplotlib versions and determine what has changed in 3.1.1 that changed the Rank2D images (but not, say, the Confusion Matrix or Classification Heatmap) so drastically.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rebeccabilbrocommented, Jul 6, 2019

Thanks for the speedy response @jklymak; btw the mpl team are total badasses — thank you, thank you, thank you for all you do! And thanks @nickpowersys for offering to do the PR, but I’ll go ahead and open one now since I already have a branch on my local with the repairs to the images 😉. Stay tuned!

0reactions
jklymakcommented, Jul 6, 2019

This was a bug and should be fixed 3.1.2. Sorry about that. https://github.com/matplotlib/matplotlib/pull/14677

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Is matplotlib 3.1.1 full backwards compatible with ...
I have some legacy code that creates plots with matplotlib 2.2.4. For new code, I use some new features of matplotlib 3.1.1, but...
Read more >
Matplotlib.pdf
Matplotlib, Release 3.1.1. Fig. 10: Barchart Demo effect. Take a close look at the attached code, which generates this figure in just a...
Read more >
Examples — Matplotlib 3.6.2 documentation
This page contains example plots. Click on any image to see the full image and source code. For longer tutorials, see our tutorials...
Read more >
How-to — Matplotlib 3.1.3 documentation
Plot numpy.datetime64 values; Check whether a figure is empty; Find all objects in a figure of a certain type; How to prevent ticklabels ......
Read more >
Overview — Matplotlib 3.1.0 documentation
Release: 3.1.0. Date: May 18, 2019. Download PDF · User's Guide · Installing · Tutorials · Interactive plots · Whats New · History ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found