Skip to content

How to make plotly work? #2682

@raphael10-collab

Description

@raphael10-collab

I do not understand how to make plotly work with prophet

import logging
logging.getLogger("prophet.plot").disabled = True
import prophet
import matplotlib.pyplot as plt
import pandas as pd

data = pd.read_csv("example_wp_log_peyton_manning.csv")
data["ds"] = pd.to_datetime(data["ds"])

fig = plt.figure(facecolor='w', figsize=(10, 6))
plt.plot(data.ds, data.y)

I do not get the warning anymore, but plotly does not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions