Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
FIX: ioerror font cache, second try#10857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Implement PdfPages for backend pgf
Some trivial py3fications.
The `elif` clauses in `Marker.set_marker` needed to be reorderedbecause any Python object that has a `__len__` method is aninstance of `collections.Sized`.
make seaborn great again on Matplotlib-2.2
Fix for failing bar plot w/ units
(Too many spaces between "layout." and "You", missing betwen "subplots"and "with".)
Convert NaT to nan in date2num
Fix extra and missing spaces in constrainedlayout warning.
Also reorder other mentioned 3rdparty packages to alphabetical order.
Add mplcairo to 3rdparty docs.
…boilerplate.pyRemove if six.PY2 code paths from boilerplate.py
Support markers from Paths that consist of one line segment
Simplify setupext by using globs.
so don't rely on the 3rd party version.Also replace py.test by pytest in the docs (recommended since pytest3.0,https://docs.pytest.org/en/latest/changelog.html#id281; we requirepytest>=3.1 anyways).Also delete tox.ini which is clearly outdated.
Add a link from the examples to the user's guide.Clarify that the weakref behavior only affects *methods* used ascallbacks, not free functions.
…strainedlayoutFIX/ENH CL: Allow single parent colorbar w/ gridspec layout
Replace the Locked contextmanager (which locks a directory, preventingother (cooperative) processes to access it) by a private _lock_pathcontextmanager, which locks a single file (or directory).- The finer grained lock avoids locking out the entire tex cache when handling usetex, which is useful when running multiple processes at once.- Python3 implements the `"x"` ("exclusive") mode to open, which we can use instead of relying on `makedirs` to achieve a race-free operation on the filesystem.- The previous implementation allowed multiple threads of a single process to acquire the same lock, but (for the use cases here, e.g. running a tex subprocess) this is actually undesirable. Removing this behavior also simplifies the implementation.- As far as I can tell, the previous implementation was actually racy: in retries = 50 sleeptime = 0.1 while retries: files = glob.glob(self.pattern) if files and not files[0].endswith(self.end): time.sleep(sleeptime) retries -= 1 else: break else: err_str = _lockstr.format(self.pattern) raise self.TimeoutError(err_str) # <----- HERE if not files: try: os.makedirs(self.lock_path) except OSError: pass else: # PID lock already here --- someone else will remove it. self.remove = False multiple processes can reach "HERE" at the same time and each successfully create their own lock.
This ensures that when a cairo-based backend is active, animations alsoget saved using backend_cairo, rather than falling back on backend_agg.
Deprecate vestigial Annotation.arrow.
…stringDOC: make legend docstring interpolated
DOC: Update layout of sidebar in documentation
The Agg backend still doesn't know how to make use of that informationin draw_markers, but third-party backends (e.g. mplcairo) do honor thesetting.
Use long color names for default rcParams
…tureMake function signatures more explicit
Propagate marker antialias setting to GraphicsContext.
Add print_rgba to backend_cairo.
Add some basic smoketesting for webagg (and wx).
- Give the colorbars a reasonable aspect ratio.- Fix a link.- Other minor edits.
DOC: Make colorbar tutorial examples look like colorbars.
DOC: Don't use private attribute in tk example. Fix Toolbar class rename.
jklymak commentedMar 21, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Note, no need to merge into master because this code no longer exists in master. Hopefully I did the PR correctly to go into 2.2.3 |
The code is still in master (line 912) so the fix should be applied there too. |
2d4fb22
to5766c9f
CompareClosed in lieue of#10858 so I could PR against master. Prob a way to do it w/o a new PR, but... |
PR Summary
As per#9676 (review)#9676 didn't actually catch the font cache error (well, it caught it, but threw another error instead).
This should fix.@lmr, if you are able to test, that would be very helpful, because I can't actually trigger the error!
PR Checklist