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 c3d386d

Browse filesBrowse files
committed
TST: add test for Axes.loglog
1 parent 51634e7 commit c3d386d
Copy full SHA for c3d386d

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+10
-0
lines changed
Loading

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4147,6 +4147,16 @@ def test_title_location_roundtrip():
41474147
assert_raises(ValueError, ax.set_title, 'fail', loc='foo')
41484148

41494149

4150+
@image_comparison(baseline_images=["loglog"], remove_text=True,
4151+
extensions=['png'])
4152+
def test_loglog():
4153+
fig, ax = plt.subplots()
4154+
x = np.arange(1, 11)
4155+
ax.loglog(x, x**3, lw=5)
4156+
ax.tick_params(length=25, width=2)
4157+
ax.tick_params(length=15, width=2, which='minor')
4158+
4159+
41504160
if __name__ == '__main__':
41514161
import nose
41524162
import sys

0 commit comments

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