8000 autoscaling ax.arrow · matplotlib/matplotlib@21ae25e · GitHub
[go: up one dir, main page]

Skip to content

Commit 21ae25e

Browse files
committed
autoscaling ax.arrow
1 parent af80d57 commit 21ae25e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+10607
-15
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
custom: https://numfocus.salsalabs.org/donate-to-matplotlib/index.html

LICENSE/LICENSE_PAINT

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2000 by Object Craft P/L, Melbourne, Australia.
2+
3+
All Rights Reserved
4+
5+
Permission to use, copy, modify, and distribute this software and its
6+
documentation for any purpose and without fee is hereby granted,
7+
provided that the above copyright notice appear in all copies and that
8+
both that copyright notice and this permission notice appear in
9+
supporting documentation, and that the name of Object Craft
10+
is not be used in advertising or publicity pertaining to
11+
distribution of the software without specific, written prior
12+
permission.
13+
14+
OBJECT CRAFT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15+
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16+
EVENT SHALL OBJECT CRAFT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17+
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
18+
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20+
PERFORMANCE OF THIS SOFTWARE.

ci/azure-pipelines-steps.yml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
parameters:
2+
platform: none
3+
installer: none
4+
5+
steps:
6+
- task: UsePythonVersion@0
7+
inputs:
8+
versionSpec: '$(python.version)'
9+
architecture: 'x64'
10+
displayName: 'Use Python $(python.version)'
11+
condition: and(succeeded(), ne(variables['python.version'], 'Pre'))
12+
13+
- task: stevedower.python.InstallPython.InstallPython@1
14+
displayName: 'Use prerelease Python'
15+
inputs:
16+
prerelease: true
17+
condition: and(succeeded(), eq(variables['python.version'], 'Pre'))
18+
19+
- ${{ if eq(parameters.installer, 'nuget') }}:
20+
- task: NuGetToolInstaller@0
21+
displayName: 'Use latest available Nuget'
22+
23+
- script: |
24+
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
25+
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
26+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
27+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release
28+
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include /I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
29+
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release /LIBPATH:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release
30+
31+
displayName: 'Install dependencies with nuget'
32+
33+
- ${{ if eq(parameters.installer, 'brew') }}:
34+
- script: |
35+
brew install pkg-config ffmpeg imagemagick mplayer ccache
36+
displayName: 'Install dependencies with brew'
37+
38+
- ${{ if eq(parameters.installer, 'apt') }}:
39+
- script: |
40+
sudo apt-add-repository ppa:jonathonf/ffmpeg-3
41+
sudo apt-get update
42+
sudo apt-get install \
43+
cm-super \
44+
dvipng \
45+
ffmpeg \
46+
gdb \
47+
gir1.2-gtk-3.0 \
48+
graphviz \
49+
inkscape \
50+
libcairo2 \
51+
libgeos-dev \
52+
libgirepository-1.0.1 \
53+
lmodern \
54+
otf-freefont \
55+
pgf \
56+
texlive-fonts-recommended \
57+
texlive-latex-base \
58+
texlive-latex-extra \
59+
texlive-latex-recommended \
60+
texlive-xetex texlive-luatex
61+
displayName: 'Install dependencies with apt'
62+
63+
- script: |
64+
65+
python -m pip install --upgrade pip
66+
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt
67+
68+
displayName: 'Install dependencies with pip'
69+
70+
- script: |
71+
72+
pip install -ve .
73+
74+
displayName: "Install self"
75+
env:
76+
MPLLOCALFREETYPE: 1
77+
78+
- script: env
79+
displayName: 'print env'
80+
81+
- script: |
82+
env
83+
pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2
84+
displayName: 'pytest'
85+
env:
86+
PYTHONFAULTHANDLER: 1
87+
88+
- task: PublishTestResults@2
89+
inputs:
90+
testResultsFiles: '**/test-results.xml'
91+
testRunTitle: 'Python $(python.version)'
92+
condition: succeededOrFailed()

doc/_static/blume_table_example.png

25.9 KB
Loading
85.6 KB
Loading
551 KB
Loading
87.3 KB
Loading

doc/_static/yellowbrick.png

66.1 KB
< 1CF5 div class="FileRendererBlob-module__FileRendererWrapper--PLJ7W">
Loading

doc/api/backend_template_api.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
:mod:`matplotlib.backends.backend_template`
3+
===========================================
4+
5+
.. automodule:: matplotlib.backends.backend_template
6+
:members:
7+
:undoc-members:
8+
:show-inheritance:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Deprecations
2+
````````````
3+
4+
``backend_wx.DEBUG_MSG`` is deprecated. The wx backends now use regular
5+
logging.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
Deprecations
22
````````````
33

4-
The ``matplotlib.sphinxext.plot_directive`` interface has changed from
5-
the (Sphinx-)deprecated function-based interface to a class-based interface.
6-
This should not affect end users, but the
7-
``matplotlib.sphinxext.plot_directive.plot_directive`` function is now
4+
The ``matplotlib.sphinxext.mathmpl`` and
5+
``matplotlib.sphinxext.plot_directive`` interfaces have changed from the
6+
(Sphinx-)deprecated function-based interface to a class-based interface. This
7+
should not affect end users, but the
8+
``matplotlib.sphinxext.mathmpl.math_directive`` and
9+
``matplotlib.sphinxext.plot_directive.plot_directive`` functions are now
810
deprecated.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Autoscale for arrow
2+
```````````````````````````````````
3+
Calling ax.arrow() will now autoscale the axes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Deprecations
2+
````````````
3+
4+
Calling ``fig.add_axes()`` with no arguments currently return None,
5+
will raise an error in the future

0 commit comments

Comments
 (0)
0