From 703b691d22c87b70b2048258b0734a120a37603f Mon Sep 17 00:00:00 2001 From: OSAMA SARFARAZ Date: Wed, 29 Dec 2021 14:32:47 +0500 Subject: [PATCH] Update plot.py --- backtrader/plot/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backtrader/plot/plot.py b/backtrader/plot/plot.py index cb8c7137c..c7fd7300b 100644 --- a/backtrader/plot/plot.py +++ b/backtrader/plot/plot.py @@ -259,7 +259,7 @@ def plot(self, strategy, figid=0, numfigs=1, iplot=True, # Applying the manual rotation with setp cures the problem # but the labels from all axis but the last have to be hidden for ax in laxis: - self.mpyplot.setp(ax.get_xticklabels(), visible=False) + self.mpyplot.setp(ax.get_xticklabels(), visible=True) self.mpyplot.setp(lastax.get_xticklabels(), visible=True, rotation=self.pinf.sch.tickrotation)