I have a Juypter Notebook (.ipynb) file which consists of a Matplotlib barplot and histogram. The file is about 100 KB in size. The same plots done with Plotly Express are 25.5 MB in size.
The JSON export of the histogram is 3 MB while the barplot export is about 7 KB.
Why is the Plotly histplot JSON more than 400 times bigger than the barplot?
Why is the Plotly notebook more than 8 times bigger than the two exported JSON images together?
Why is the Plotly notebook more than 250 times bigger than the Matplot notebook?