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

Return plots as json strings #1348

Open
sachinkumarUI opened this issue Sep 1, 2024 · 1 comment
Open

Return plots as json strings #1348

sachinkumarUI opened this issue Sep 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sachinkumarUI
Copy link

🚀 The feature

Return the plots as json strings rather than images

Motivation, pitch

the current setup for plots is to return an address for the .png which is created based on the plots. This becomes cumbersome sometime to further process these plots and do post-processing before showing them to the users. Returning them as JSON strings(poorly.to_json or similar operation) would aide to generalise the provided solution.

Alternatives

No response

Additional context

No response

@dosubot dosubot bot added the enhancement New feature or request label Sep 1, 2024
@S1LV3RJ1NX
Copy link

An alternative will be to save the plot in temp dir and encode it in base64 string

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

No branches or pull requests

2 participants