Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0d153e

Browse files
committed
Merge pull request #852 from mdboom/doc-building-deadlock
regression on v1.1.x branch, doc build deadlocks
2 parents eb0ded7 + 390c1fb commit b0d153e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class RendererAgg(RendererBase):
5858
# draw at at time and so the font cache is used by only one
5959
# renderer at a time
6060

61-
lock = threading.Lock()
61+
lock = threading.RLock()
6262
_fontd = maxdict(50)
6363
def __init__(self, width, height, dpi):
6464
if __debug__: verbose.report('RendererAgg.__init__', 'debug-annoying')

0 commit comments

Comments
 (0)