SMA update, Y-axis display problem #190
-
Here is my code: Data part-------------------------self.fplt_price, self.fplt_volume = fplt.create_plot(tiker, init_zoom_periods=100, rows=2) self.verticalLayout_chart.addWidget(self.fplt_price.vb.win) self.chart_candle = fplt.candlestick_ochl(self.chart_data[['open', 'close', 'high', 'low']], ax=self.fplt_price, candle_width=0.6) Update Part----------------------self.chart_ma20.update_data(self.chart_data['close'].rolling(20).mean(), gfx=False) self.chart_candle.update_data(self.chart_data[['open', 'close', 'high', 'low']], gfx=False) fplt._repaint_candles() The candlechart is being updated. How can I update it? and Y-axis Data is float. but I want to be seen as int. Thank you for read |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Please post a complete but minimal example and I'll have a look. I don't have time to compose and complete half-made examples. See custom axes ticks for more info on that. |
Beta Was this translation helpful? Give feedback.
Please post a complete but minimal example and I'll have a look. I don't have time to compose and complete half-made examples.
See custom axes ticks for more info on that.