Using Matplotlib and Seaborn with Deephaven | Deephaven

Using Matplotlib and Seaborn with Deephaven | Deephaven


There are many reasons the Python community is large and growing. Easy, comprehensive, and evolving data visualization is near the top of the list. Plots drive understanding, and Matplotlib and Seaborn are giants.

A bit of good news: you can now use these familiar and powerful Python tools in the Deephaven IDE. Woo woo!

Though real-time, ticking plots still require Deephaven’s plotly-integrated library, it’s exciting to have Matplotlib and Seaborn’s suite of capabilities available in the Deephaven web UI for visualizing static or periodically-snapshotted data.

Deephaven’s plug-ins make integrating these packages with deephaven-core a breeze.

To use Matplotlib from the Deephaven IDE, simply clone the Matplotlib project from the deephaven-examples repo.

git clone https://github.com/deephaven-examples/deephaven-matplotlib-base.git
cd deephaven-matplotlib-base
docker compose pull
docker compose up --build -d

Then plot away! (Or Matplotlib away?) For inspiration, here are some 3D examples from Rashida Nasrin Sucky. (You can find the queries for these plots in our how-to guide.)

img

After you have Matplotlib set up, a simple pip install adds Seaborn. All your prior Seaborn programs can be directly applied to Deephaven:

img



Source link
lol

By stp2y

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.