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

ability to use something other than plotly to make plots #555

Closed
bbanzai88 opened this issue May 11, 2023 · 3 comments
Closed

ability to use something other than plotly to make plots #555

bbanzai88 opened this issue May 11, 2023 · 3 comments
Labels
Python 🐍 Related to Python question ❔ Further information is requested

Comments

@bbanzai88
Copy link

Hi,

Im using databricks and it is problematic to use plotly with it. Is there away to use matplotlib to visualize the graphs resulting from using DALEX? Thank you!!

Sincerely,

tom

@krzyzinskim
Copy link
Contributor

Hi,

There are no graph equivalents made in matplotlib but if you have the explanation result in an explanation object, you can return plotly Figure (by setting show=False) and convert it to a bytes object, which may be more convenient.

fig = explanation.plot(show=False)
img_bytes = fig.to_image(format="png")

You can find more here.

@bbanzai88
Copy link
Author

bbanzai88 commented May 11, 2023 via email

@hbaniecki hbaniecki added question ❔ Further information is requested Python 🐍 Related to Python labels May 14, 2023
@bbanzai88
Copy link
Author

bbanzai88 commented May 18, 2023 via email

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python 🐍 Related to Python question ❔ Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants