Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ecf6d3b

Browse filesBrowse files
committed
The rcParam lines.marker should not be used for gridlines
1 parent ff749cb commit ecf6d3b
Copy full SHA for ecf6d3b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ def _get_gridline(self):
412412
linestyle=rcParams['grid.linestyle'],
413413
linewidth=rcParams['grid.linewidth'],
414414
alpha=rcParams['grid.alpha'],
415+
markersize=0
415416
)
416417
l.set_transform(self.axes.get_xaxis_transform(which='grid'))
417418
l.get_path()._interpolation_steps = GRIDLINE_INTERPOLATION_STEPS
@@ -550,6 +551,7 @@ def _get_gridline(self):
550551
linestyle=rcParams['grid.linestyle'],
551552
linewidth=rcParams['grid.linewidth'],
552553
alpha=rcParams['grid.alpha'],
554+
markersize=0
553555
)
554556

555557
l.set_transform(self.axes.get_yaxis_transform(which='grid'))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.