Skip to content

Commit ee27017

Browse files
committed
Change call to pyplot.grid(...) to solve issue #32
1 parent 5c48e06 commit ee27017

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

litstudy/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ def plot_histogram(
9191
ylabel = "No. of documents"
9292

9393
if not vertical:
94-
ax.grid(b=False, which="both", axis="y")
94+
ax.grid(visible=False, which="both", axis="y")
9595
xlabel, ylabel = ylabel, xlabel
9696
else:
97-
ax.grid(b=False, which="both", axis="x")
97+
ax.grid(visible=False, which="both", axis="x")
9898

9999
if title:
100100
ax.set_title(title)

0 commit comments

Comments
 (0)