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 8627dbd

Browse filesBrowse files
committed
Fix Text layout cache lookup.
Even though `Text._get_layout` takes a `renderer` parameter, the cache is looked up by the `self._renderer` attribute. If an alternate renderer is provided without changing any other properties, the cached layout from the previous renderer is returned. An alternate renderer is passed by `offsetbox.TextArea`, which, through its use in legends, causes the legend to shift slightly if figures are saved in different formats. Fixes #6899.
1 parent cb21ba7 commit 8627dbd
Copy full SHA for 8627dbd

File tree

Expand file treeCollapse file tree

14 files changed

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

14 files changed

+2328
-2328
lines changed

‎lib/matplotlib/tests/baseline_images/test_axes/hist_stacked_bar.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/hist_stacked_bar.svg
+125-125Lines changed: 125 additions & 125 deletions
Loading

‎lib/matplotlib/tests/baseline_images/test_axes/markevery.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/markevery.svg
+267-267Lines changed: 267 additions & 267 deletions
Loading

‎lib/matplotlib/tests/baseline_images/test_axes/markevery_line.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_axes/markevery_line.svg
+279-279Lines changed: 279 additions & 279 deletions
Loading

‎lib/matplotlib/tests/baseline_images/test_legend/fancy.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_legend/fancy.svg
+196-196Lines changed: 196 additions & 196 deletions
Loading

‎lib/matplotlib/tests/baseline_images/test_legend/framealpha.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_legend/framealpha.svg
+36-36Lines changed: 36 additions & 36 deletions
Loading

0 commit comments

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