我如何使用matplotlib繪製燭臺圖表?我無法找到它的例子,使用mlp_finace包。我不想使用matplotlib.finance包,因爲它已被棄用。我如何使用matplotlib繪製燭臺圖表?
回答
您是否嘗試過mlp_finace https://github.com/matplotlib/mpl_finance/tree/master/examples的官方示例?
看看seaborn,它是一個matplotlib變體,專注於統計數據並提供這樣的功能。
如何根據數據在繪圖中繪製(填充)框(例如,如果數據增加時爲綠色,否則爲紅色)?如何將x_axis標記爲日期而不是數字? – hal
[color boxes](https://stackoverflow.com/questions/28740234/face-pattern-for-boxes-in-boxplots); [與matplotlib軸中的日期](https://stackoverflow.com/questions/5498510/creating-graph-with-date-and-time-in-axis-labels-with-matplotlib),取決於您輸入的日期數據處理 – mquantin
- 1. 我如何使用我自己的數據使用matplotlib製作燭臺圖表
- 2. 如何僅使用Python的matplotlib燭臺繪製工作日?
- 3. 使用Matplotlib的日內燭臺圖表
- 4. 用matplotlib註解燭臺圖
- 5. 在swift中繪製燭臺圖表
- 6. 繪製燭臺(matploblit)
- 7. 蟒蛇matplotlib燭臺圖
- 8. 實時燭臺圖(matplotlib)
- 9. 我如何使蟒蛇燭臺圖在matplotlib中可點擊
- 10. 熊貓dataframe:如何繪製燭臺
- 11. 如何在iOS上繪製燭臺圖表?
- 12. 用matplotlib燭臺陰謀
- 13. 我們如何在金融燭臺圖上繪製紅點(代表交易)?
- 14. 如何刪除Matplotlib燭臺圖表中的週末?
- 15. 用python繪製盤中燭臺
- 16. Dimple.js燭臺圖表
- 17. Matplotlib燭臺圖看起來很奇怪
- 18. 用Matplotlib繪製圖表?
- 19. 如何使用matplotlib繪製熱圖?
- 20. 如何使用matplotlib繪製折線圖
- 21. 如何使用matplotlib繪製圖形?
- 22. 在matplotlib燭臺圖表中添加線條和幾何形狀
- 23. 繪製圖形使用matplotlib
- 24. matplotlib:如何繪製圖像
- 25. 如何將定製燭臺添加到高圖股票圖表?
- 26. 如何用Matplotlib(Python 2.7)和您自己的數據創建燭臺圖表
- 27. 如何清除matplotlib燭臺上的模糊圖案?
- 28. 我可以使用WPF System.Windows.Controls.DataVisualization.Charting來繪製OHLC或蠟燭圖嗎?
- 29. 燭臺上bitcoinwisdom圖表
- 30. 燭臺OCHL圖
我已經安裝matplotlib但我無法導入mpl_finance。我如何得到它? – hal
下載https://github.com/matplotlib/mpl_finance並使用命令python setup.py install進行安裝。但是你仍然可以使用matplotlib.finance直到matplotlib 2.2。 mlp_finace尚未正式受支持。 –