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 dff07ed

Browse filesBrowse files
committed
TST: fix up axes-less Annotation
1 parent 0e6e92e commit dff07ed
Copy full SHA for dff07ed

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_text.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_text.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def test_text_annotation_get_window_extent():
991991
renderer = RendererAgg(200, 200, 100)
992992

993993
# Only text annotation
994-
annotation = Annotation('test', xy=(0, 0))
994+
annotation = Annotation('test', xy=(0, 0), xycoords='figure pixels')
995995
annotation.set_figure(figure)
996996

997997
text = Text(text='test', x=0, y=0)

0 commit comments

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