8000 DOC: fix grammar in comment · matplotlib/matplotlib@4dbff5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 4dbff5e

Browse files
tacaswellgreglucas
andauthored
DOC: fix grammar in comment
Co-authored-by: Greg Lucas <greg.m.lucas@gmail.com>
1 parent 2c1ecd8 commit 4dbff5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,9 +2371,9 @@ class Figure(FigureBase):
23712371
# windows where the creation of too many figures leads to too many open
23722372
# file handles and improves the performance of parsing mathtext. However,
23732373
# these global caches are not thread safe. The solution here is to let the
2374-
# Figure acquire a shared at the start of the draw, and release it when it
2374+
# Figure acquire a shared lock at the start of the draw, and release it when it
23752375
# is done. This allows multiple renderers to share the cached fonts and
2376-
# parsed text, but only one figure can draw at time and so the font cache
2376+
# parsed text, but only one figure can draw at a time and so the font cache
23772377
# and mathtext cache are used by only one renderer at a time.
23782378

23792379
_render_lock = threading.RLock()

0 commit comments

Comments
 (0)
0