Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced code of scatterPlot (refer issue #43) #46

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding visualization using plotly
Tanvi-Jain01 committed Jun 30, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
zakkak Foivos Zakkak
commit d7d2e6bdfaacfa2b4e12b772fecaa701403eb497
2 changes: 1 addition & 1 deletion vayu/timePlot.py
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ def timePlot(df, year, pollutants=["pm25", "pm10"]):
import matplotlib as mpl
import matplotlib.pyplot as plt
import plotly.graph_objects as go

# Cuts the df down to the month specified
df.index = pd.to_datetime(df.date)
df_n_1 = df[(df.index.year == int(year))]