Skip to content

Display charts in streamlit app #5

@vinaychuri

Description

@vinaychuri

We can view the plots in Jupyter notebooks via the following code.

indicators = [
    Candlesticks(),BBANDS(),Volume(), 
    RSI(),
]
with plt.style.context('classic'):
    chart = Chart(title="ticker", max_bars=200)
    chart.plot(df, indicators)

How to display the same in python streamlit app?

The above code + chart.show() does not work. The chart.plot() does not have any returnfig option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions