matplotlib / matplotlib/mplfinance
compatibility with mpld3
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
hi thank you for this awesome library.
I've been trying to display a candlestick chart, which works well on ipython notebook, but with mpld3, all that displays is this:

instead of this:

`df = retrieve_data()
candles = pd.DataFrame( {'Date': pd.to_datetime(df['time']), 'Open': df.Open, 'High': df.High, 'Low': df.Low, 'Close': df.Close, 'Volume': df.Volume})
candles = candles[['Date', 'Open', 'High', 'Low', 'Close', 'Volume']]
candles = candles.set_index(pd.DatetimeIndex(candles["Date"]))
fig, ax = mpf.plot(candles, type='candle', returnfig=True, style='nightclouds')
mpld3.show()`
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied Python example with the mplfinance candlestick plot and mpld3.show(), comparing its output in an IPython notebook with the mpld3 rendering. The issue names no project files or tests; done means the candlestick chart renders correctly through mpld3 rather than showing the reported incomplete output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100