GithubHelp home page GithubHelp logo

ghreport's People

Contributors

gramster avatar

Watchers

 avatar  avatar  avatar  avatar

ghreport's Issues

Error with seaborn-whitegrid plot style in ghreport

The following error is shown when ghreport is run to generate issues report. The root cause seems to be with this line.

plt.style.use('seaborn-whitegrid')

There seems to be no such plot style available in matplotlib.

Could you please check and advise how to resolve this error with this ghreport github action ?
Thanks
Pradyumna

Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/matplotlib/style/core.py", line 137, in use
style = _rc_params_in_file(style)
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/matplotlib/init.py", line 866, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/matplotlib/init.py", line 843, in _open_file_or_url
with open(fname, encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'seaborn-whitegrid'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.9.18/x64/bin/ghreport", line 5, in
from ghreport import main
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/ghreport/init.py", line 42, in
from .ghreport import report
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/ghreport/ghreport.py", line 18, in
plt.style.use('seaborn-whitegrid')
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/matplotlib/style/core.py", line 139, in use
raise OSError(
OSError: 'seaborn-whitegrid' is not a valid package style, path of style file, URL of style file, or library style name (library styles are listed in style.available)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.