-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
ValueError Traceback (most recent call last)
File d:\Files\Training\Python\Visualization Assignment\Startup-Data-Visualizer\venv\Lib\site-packages\IPython\core\formatters.py:922, in IPythonDisplayFormatter.call(self, obj)
920 method = get_real_method(obj, self.print_method)
921 if method is not None:
--> 922 method()
923 return True
File d:\Files\Training\Python\Visualization Assignment\Startup-Data-Visualizer\venv\Lib\site-packages\plotly\basedatatypes.py:832, in BaseFigure.ipython_display(self)
829 import plotly.io as pio
831 if pio.renderers.render_on_display and pio.renderers.default:
--> 832 pio.show(self)
833 else:
834 print(repr(self))
File d:\Files\Training\Python\Visualization Assignment\Startup-Data-Visualizer\venv\Lib\site-packages\plotly\io_renderers.py:394, in show(fig, renderer, validate, **kwargs)
389 raise ValueError(
390 "Mime type rendering requires ipython but it is not installed"
391 )
393 if not nbformat or Version(nbformat.version) < Version("4.2.0"):
--> 394 raise ValueError(
395 "Mime type rendering requires nbformat>=4.2.0 but it is not installed"
396 )
398 ipython_display.display(bundle, raw=True)
400 # external renderers
ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed
Plotly is plotting the plot. But it also is showing the above warning.
I tried https://stackoverflow.com/questions/66557543/valueerror-mime-type-rendering-requires-nbformat-4-2-0-but-it-is-not-installed, but no luck.