petrobras / 3W

Promotes development of ML algorithms for early detection and classification of undesirable events in offshore oil wells.
Apache License 2.0
326 stars 79 forks source link

New `charts.py` module for easy and interactive data visualization #122

Open yantavares opened 3 weeks ago

yantavares commented 3 weeks ago

This PR was made by the team Black Oil Pyrates in HACKTUDO.

Description:

This PR introduces a new ThreeWChart class to the 3W repository, enabling the creation of interactive visualizations from 3W dataset files using Plotly. The ThreeWChart module provides an intuitive way to display time-series data with background shapes indicating key class transitions, along with a custom legend for better event understanding.


Code Overview:


Example Usage:

from charts import ThreeWChart

chart = ThreeWChart(file_path="dataset/0/WELL-00001_20170201010207.parquet")
chart.plot()

Dependencies: