Skip to content

Commit

Permalink
Merge pull request #767 from ricequant/dev-rqsdk-616
Browse files Browse the repository at this point in the history
兼容matplotlib 3.7
  • Loading branch information
Cuizi7 committed Feb 23, 2023
2 parents 3c5a50a + 9c5e5ec commit dd30cd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rqalpha/mod/rqalpha_mod_sys_analyser/plot/plot.py
Expand Up @@ -99,8 +99,8 @@ def _plot_spots_on_returns(self, ax, positions: Sequence[int], info: SpotInfo):
def plot(self, ax: Axes):
ax.get_xaxis().set_minor_locator(ticker.AutoMinorLocator())
ax.get_yaxis().set_minor_locator(ticker.AutoMinorLocator())
ax.grid(b=True, which='minor', linewidth=.2)
ax.grid(b=True, which='major', linewidth=1)
ax.grid(visible=True, which='minor', linewidth=.2)
ax.grid(visible=True, which='major', linewidth=1)
ax.patch.set_alpha(0.6)

# plot lines
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -29,7 +29,7 @@
'tabulate',
'rqrisk >=1.0.5',
'h5py',
'matplotlib >=2.2.0',
'matplotlib >=3.1.0',
"openpyxl",
"methodtools"
]
Expand Down

0 comments on commit dd30cd0

Please sign in to comment.