We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add support for rendering Matplotlib figures as a component. Users should be able to do the following in an example project:
from preswald import matplotlib
When they run:
preswald run hello.py
The plot should render in the frontend automatically.
matplotlib.plot()
matplotlib.figure.Figure
The text was updated successfully, but these errors were encountered:
Picking this up @amrutha97 .
Sorry, something went wrong.
Hi @bluzeey, are you still working on this? Or can I take this issue?
Add support for matplotlib issue StructuredLabs#71
921d915
Successfully merging a pull request may close this issue.
Description
Add support for rendering Matplotlib figures as a component. Users should be able to do the following in an example project:
When they run:
The plot should render in the frontend automatically.
Tasks
Backend
matplotlib.plot()
.matplotlib.figure.Figure
to a format the frontend can handle (PNG, SVG, etc.).Frontend
Integration
preswald run hello.py
with a script that usesmatplotlib.plot()
.Docs
matplotlib.plot()
.Acceptance Criteria
preswald run hello.py
withmatplotlib.plot()
renders the plot in the UI.The text was updated successfully, but these errors were encountered: