forked from matplotlib/cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from matplotlib:master #22
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
68
commits into
FreezeSoul:master
Choose a base branch
from
matplotlib:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Notes: The A4 long dimension is 297 mm. With 2.5 mm left and right margins and 7/4 mm spacing between the 5 columns (4 gaps), this gives (297 - 2.5*2 - 4*7/4) / 5 = 57 mm wide columns.
- add base style with constrained_layout enabled - add style for the ticks examples - add style for a grid of figures - resize figures to a maximum width of 57 mm - small tweaks to arrow connections to accommodate change in figure size
- diminish scope of pdfcrop use - migrate more scripts to use the base mplstyle - continue migration to subplots usage - refactor to use common subplot_kw where possible - add style sheet for the sine plots - make more DRY
The main goal here is to update pillow, pulled everything else with it
BLD: update pins
Make the background of the png preview images of the pdf files opaque white instead of transparent.
Using ax.set_xticks(rotation=90) without passing labels is discouraged by the documentation. It recommends ax.tick_params(axis='x', rotation=90) instead.
Improve tick label rotation method
Make png background opaque white
Update the beginner tex file for the issue #117
Change casing of sentences
Update docker and action versions
- the correct name of the projection is Orthographic instead of Cartographic. - use standard import convention to make the line a bit shorter, see https://scitools.org.uk/cartopy/docs/latest/matplotlib/intro.html. - fix wrong API link for cartopy - add missing (lost) API link for 3d
The https scheme is needed as check-links.py checks for 200. Pdfx prepends http:// to links without a scheme which results in a permanent redired (308) to 'https://gitter.im/matplotlib/matplotlib' and hence causes check-links.py to fail.
Fix non-existent cartopy projection
Add a randomness seed to transparency script
revamp using style sheets
Simplify some iterations in scripts
Bump cartopy version
Save figures in a path relative to the script
Bump Matplotlib to 3.6
And also Cartopy to latest version to make it installable on current versions of Python.
Bump to Matplotlib 3.7.1
A locally-compiled shapely was necessary for older Cartopy that compiled against the same libraries, but it's no longer doing that, so we can use binary Shapely again.
Only a couple don't fit, so try to combine things that are related in those cases.
- Use `C1` instead of `orange` to match other plots. - Remove extra plot in `sine-logscale.pdf`, which causes a bit of artifacting around the line. - Ensure text matches what is actually plotted for `markevery` settings; note I divided by 10 so that the text would fit in the block. Fixes #133
I'm not sure what the tip in Performance section is supposed to do, but the slow part plots nothing, and the fast part doesn't run.
Fix minor typos
Allow binary shapely wheels
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Bump version of Matplotlib sphinx theme
All the special cases other than Greys are just the size of the colormap themselves, but we want to drop that special case as well. Also, colormaps are at most 256 elements long, so using `n=512` is probably not necessary.
This uses the same algorithm as the [Specifying colors tutorial](https://matplotlib.org/stable/users/explain/colors/colors.html#comparison-between-x11-css4-and-xkcd-colors).
... and debug a bit.
Simplify colormap plotting
Fix broken link
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@42.0.2...42.0.4) --- updated-dependencies: - dependency-name: cryptography dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…ryptography-42.0.4 Bump cryptography from 42.0.2 to 42.0.4 in /requirements
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst) - [Commits](kjd/idna@v3.6...v3.7) --- updated-dependencies: - dependency-name: idna dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…dna-3.7 Bump idna from 3.6 to 3.7 in /requirements
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.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )