Skip to content

Commit

Permalink
Change call to pyplot.grid(...) to solve issue #32
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnh committed Mar 28, 2023
1 parent 5c48e06 commit ee27017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litstudy/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ def plot_histogram(
ylabel = "No. of documents"

if not vertical:
ax.grid(b=False, which="both", axis="y")
ax.grid(visible=False, which="both", axis="y")
xlabel, ylabel = ylabel, xlabel
else:
ax.grid(b=False, which="both", axis="x")
ax.grid(visible=False, which="both", axis="x")

if title:
ax.set_title(title)
Expand Down

0 comments on commit ee27017

Please sign in to comment.