Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with test_plot.py some erros look below #76

Open
kebab03 opened this issue Feb 20, 2023 · 1 comment
Open

with test_plot.py some erros look below #76

kebab03 opened this issue Feb 20, 2023 · 1 comment

Comments

@kebab03
Copy link

kebab03 commented Feb 20, 2023

I got the following error:

File "C:\Users\PC\PycharmProjects\pythonProject1\venv\lib\site-packages\matplotlib_api_init_.py", line 192, in check_getitem
raise ValueError(
ValueError: 'bitmap' is not a valid value for output; supported values are 'path', 'agg', 'macosx'

I used matplotlib.use('agg') no result .Please help me.

@mp-007
Copy link

mp-007 commented Feb 20, 2023

for garden matplotlib used backend_kivy

import matplotlib
matplotlib.use('module://kivy.garden.matplotlib.backend_kivy')

If you want used 'agg' backend, please refer to this project https://github.com/mp-007/kivy_matplotlib_widget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants