Data

plotly.py 3.0 releases

2 min read

Team at plotly excitingly announces the biggest release of plotly pythonic interface, plotly.py 3.0. This new release comes with great support to Jupyter and Jupyterlab environment, imperative manipulation techniques, animation transition, lots of performance improvements and bug fixes.

Plotly is an interactive data analysis and live graphing library. The Python API allows you to access all of Plotly’s functionality from Python. The advantage of plotly is its collaborative features through which one can share, track and edit the graph real-time over web. This library is developed on the renowned JavaScript library, plotly.js equipped with numerous charts and plots such as line plots, heatmaps, histograms, bubble charts etc.

What’s new in plotly.py 3.0

  • New widget support for Jupyter and Jupyterlab: New widget added called, FigureWidget that creates final object to be plotted with another dictionary-like object containing both data and layout objects. It is compatible with the widget frameworks. One can even hover around the plot and zoom in into regions.
  • Manipulation Attributes:  Specific and dedicated attributes added making it easier to edit your graphs in the jupyter environment. With this set of attributes, the figures can be manipulated and graphs can be explored more in detail.
  • Docstring support: This new support adds informative docstrings for better documentation of your python codes, classes and functions. These docstrings are directly fetched from plotly.js schema and automatically updated to python interface plotly.py.

Performance Improvements

  • Figure specs are now serialized and transferred to plotly.js over Jupyter comm protocol.
  • Plotting speed of large data is now much faster, reducing the plotting time from 35 seconds to as low as 3 seconds for 1 million data points.
  • Added direct support of Typed Arrays for faster access to raw data.

plotly.py is considered to be a high-performance charting library through which one can plot data across different charts and graphs such as 3D graphs, statistical charts, financial charts, scientific charts and more. To know more on its different styled charts and custom control options, read the official documentation.

Read Next

15 Useful Python Libraries to make your Data Science tasks Easier

Visualizing 3D plots in Matplotlib 2.0

10 reasons why data scientists love Jupyter notebooks

Pravin Dhandre

Category Manager and tech enthusiast. Previously worked on global market research and lead generation assignments. Keeps a constant eye on Artificial Intelligence.

Share
Published by
Pravin Dhandre

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago