Closed
Description
Bug report
Bug summary
Figures not correctly showing grid for minor ticks on one axis.
Code for reproduction
x = np.arange(0,100,.5)
y = 2*x**3
plt.loglog(x,y)
plt.minorticks_on()
plt.grid(True,which="both", axis="both",ls="-")
plt.show()
Actual outcome
Expected outcome
The Y axis should have minor ticks and their corresponding grid lines.
Matplotlib version
- Operating system: ArchLinux (5.4.6-arch3-1)
- Matplotlib version: 3.1.2
- Matplotlib backend (
print(matplotlib.get_backend())
): agg - Python version: 3.8.1
- Jupyter version (if applicable):
- Other libraries:
Installed via pip
Metadata
Metadata
Assignees
Labels
No labels