Repository navigation
docs: add slow-first-plot troubleshooting and cache warm-up guidance - #272
Open
Doribelove wants to merge 1 commit into
Open
Doribelove wants to merge 1 commit into
Doribelove wants to merge 1 commit into
Conversation
Signed-off-by: 李永祺 <doribelove@gmail.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #235.
Add a troubleshooting page, linked from the documentation's main contents, for slow first plots caused by Matplotlib font-cache creation. Include cache-location diagnostics, a persistent
MPLCONFIGDIRexample, headless warm-up, and Docker/CI/sandbox guidance. Explain runtime-user permissions and why prewarming a different user's cache or mounting over it will not help.Validation:
import spatialmathdoes not populate the cache.Aggis confined to the warm-up command.41e0a4dand the revised documentation both complete with 21 warnings; existing diagnostic sets, including docutils/runblock errors, are identical. This does not claim a warning-free build.git diff --checkpasses.Docker image builds and hosted-CI cache restoration were not executed. No cross-platform timing or performance guarantee is claimed.