Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Autoscale for ax.arrow() #13788

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

custom: https://numfocus.salsalabs.org/donate-to-matplotlib/index.html
20 changes: 20 additions & 0 deletions LICENSE/LICENSE_PAINT
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright 2000 by Object Craft P/L, Melbourne, Australia.

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Object Craft
is not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior
permission.

OBJECT CRAFT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL OBJECT CRAFT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
92 changes: 92 additions & 0 deletions ci/azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
parameters:
platform: none
installer: none

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
displayName: 'Use Python $(python.version)'
condition: and(succeeded(), ne(variables['python.version'], 'Pre'))

- task: stevedower.python.InstallPython.InstallPython@1
displayName: 'Use prerelease Python'
inputs:
prerelease: true
condition: and(succeeded(), eq(variables['python.version'], 'Pre'))

- ${{ if eq(parameters.installer, 'nuget') }}:
- task: NuGetToolInstaller@0
displayName: 'Use latest available Nuget'

- script: |
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
echo ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include /I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
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

displayName: 'Install dependencies with nuget'

- ${{ if eq(parameters.installer, 'brew') }}:
- script: |
brew install pkg-config ffmpeg imagemagick mplayer ccache
displayName: 'Install dependencies with brew'

- ${{ if eq(parameters.installer, 'apt') }}:
- script: |
sudo apt-add-repository ppa:jonathonf/ffmpeg-3
sudo apt-get update
sudo apt-get install \
cm-super \
dvipng \
ffmpeg \
gdb \
gir1.2-gtk-3.0 \
graphviz \
inkscape \
libcairo2 \
libgeos-dev \
libgirepository-1.0.1 \
lmodern \
otf-freefont \
pgf \
texlive-fonts-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-xetex texlive-luatex
displayName: 'Install dependencies with apt'

- script: |

python -m pip install --upgrade pip
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt

displayName: 'Install dependencies with pip'

- script: |

pip install -ve .

displayName: "Install self"
env:
MPLLOCALFREETYPE: 1

- script: env
displayName: 'print env'

- script: |
env
pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2
displayName: 'pytest'
env:
PYTHONFAULTHANDLER: 1

- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-results.xml'
testRunTitle: 'Python $(python.version)'
condition: succeededOrFailed()
Binary file added doc/_static/blume_table_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/geoplot_nyc_traffic_tickets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/numpngw_animated_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/ridge_map_white_mountains.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/yellowbrick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions doc/api/backend_template_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

:mod:`matplotlib.backends.backend_template`
===========================================

.. automodule:: matplotlib.backends.backend_template
:members:
:undoc-members:
:show-inheritance:
5 changes: 5 additions & 0 deletions doc/api/next_api_changes/2018-09-18-AL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Deprecations
````````````

``backend_wx.DEBUG_MSG`` is deprecated. The wx backends now use regular
logging.
10 changes: 6 additions & 4 deletions doc/api/next_api_changes/2019-01-09-deprecations.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Deprecations
````````````

The ``matplotlib.sphinxext.plot_directive`` interface has changed from
the (Sphinx-)deprecated function-based interface to a class-based interface.
This should not affect end users, but the
``matplotlib.sphinxext.plot_directive.plot_directive`` function is now
The ``matplotlib.sphinxext.mathmpl`` and
``matplotlib.sphinxext.plot_directive`` interfaces have changed from the
(Sphinx-)deprecated function-based interface to a class-based interface. This
should not affect end users, but the
``matplotlib.sphinxext.mathmpl.math_directive`` and
``matplotlib.sphinxext.plot_directive.plot_directive`` functions are now
deprecated.
3 changes: 3 additions & 0 deletions doc/api/next_api_changes/autoscale_for_arrow.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Autoscale for arrow
```````````````````````````````````
Calling ax.arrow() will now autoscale the axes.
5 changes: 5 additions & 0 deletions doc/api/next_api_changes/deprecated_empty_add_axes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Deprecations
````````````

Calling ``fig.add_axes()`` with no arguments currently return None,
will raise an error in the future
Loading