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.

Remove matplotlib warnings from examples executed when generating the documentation

See original GitHub issue

There is a warning generated in our documentation for the 2 following examples:

The warning is linked with the decoration of the yticks:

/home/circleci/project/examples/inspection/plot_permutation_importance.py:133: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_yticklabels(feature_names[sorted_idx])

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Adongocommented, Feb 6, 2021

I am working on it with @Fiona-cherutto

1reaction
Sidakdeep23commented, Feb 6, 2021

I want to work on this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to suppress matplotlib warning? - python - Stack Overflow
You can suppress all warnings: import warnings warnings.filterwarnings("ignore") import pandas.
Read more >
How to suppress Matplotlib warning? - Tutorialspoint
When we execute the code, it will suppress the warning and display the following plot. Now, remove the line, warnings.filterwarnings("ignore") ...
Read more >
warnings — Warning control — Python 3.11.1 documentation
Python programmers issue warnings by calling the warn() function defined in this module. (C programmers use PyErr_WarnEx() ; see · Warning messages are...
Read more >
Developer's tips for documenting matplotlib
The documentation for matplotlib is generated from reStructuredText using the Sphinx documentation generation tool. There are several extra requirements ...
Read more >
Workflow commands for GitHub Actions
For example, instead of using code to create an error annotation, as below: ... Disable workflow commands run: | echo '::warning:: This is...
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