0

When I used plot_model() on Pycaret in Colabs, I got unusable graph like this.

My graph

How I can use zoom slicing on my graph like this? They just using normal plot_model() and got zoom slicing feature.

Zoom slicing

Thank you.

1 Answers1

0

This has been answered in the GitHub repo discussions. Summarizing here again:

When you have too many data points, the interactivity is disabled (because they cause the notebook to freeze). However, you can manually enable interactivity if you that is what you want..

Please refer to this notebook for details: Section Setting Renderer.

You can also refer to the docstring in setup or plot_model for more details.

Bottomline: You can override the renderer to be "notebook", or "colab" or any other interactive renderer for any plot (in plot_model) or globally (in setup).

Nikhil Gupta
  • 1,436
  • 12
  • 15