Open kkzhang opened 1 month ago
Describe the bug When multiple addplots exists in a panel, their label overlaps.
To Reproduce
data["col1"] = np.random.rand(len(data)) data["col2"] = np.random.rand(len(data)) addplots = [ mpf.make_addplot(data["col1"], label="col1", panel=1), mpf.make_addplot(data["col2"], label="col2", panel=1) ] mpf.plot(data, type="candle", addplot=addplots)
Expected behavior legends should be vertical stacked
Screenshots
Additional context if panel=0, it's all ok.
Describe the bug When multiple addplots exists in a panel, their label overlaps.
To Reproduce
Expected behavior legends should be vertical stacked
Screenshots![image](https://github.com/matplotlib/mplfinance/assets/575834/beddb625-cb8d-4fa5-ae8b-777aab20105a)
Additional context if panel=0, it's all ok.![image](https://github.com/matplotlib/mplfinance/assets/575834/c003e334-39ec-4887-b1d7-013a19d0ce56)