Python is undeniably the most popular language being used by data scientists globally. It has eaten up the ground on R in the last couple of years and is rapidly ascending to scale new heights. One of the best things about R has been it’s ggplot2 package, which has always been my go-to tool for visualization (even that has now been introduced in Python).
Python’s data visualization library catalogue is also diverse, though nothing had been as good as ggplot2. Until now. Here comes the latest release in the popular plotly.py library, 3.0.0, and it’s a big one! There are tons of new features and changes that will make working with this library even more interactive and enjoyable.
You can download plotly using the below commands:
pip install plotly
In case you already have plotly installed in your machine, you can upgrade it by typing the below command:
pip install plotly --upgrade
Let’s look at what all is new in this release.
Plotting thousands on points in your notebook used to take a bit of time. This has also been vastly improved in plotly 3.0.0 and you will notice how quickly charts are popping up on your machine.
You can read more about these changes, and see them in action, via Plotly’s Twitter account.
Plotly’s release came at approximately the same time that ggplot2 3.0.0 was launched. It’s a great time to be a data visualization user! These changes in plotly will greatly enhance my experience with visualizations (I am already a heavy visualization user). I’m really looking forward to using the Jupyter widget support and see how that functions in my notebooks.
Another thing worth exploring is the ‘Imperative Method’ which gives us far more flexibility in drawing the plots (and not just how they look). You can even use plotly with R if you with Shiny apps. If you do use this latest release, be sure to let me know your experience in the comments section below!