Skip to content

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 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 513 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
513 commits
Select commit Hold shift + click to select a range
afc26d8
Implement review comments of @anntzer
maxnoe Feb 28, 2018
0f835a8
Add .pytest_cache to gitignore
maxnoe Feb 28, 2018
bc16483
More docs
maxnoe Feb 28, 2018
05e7f77
Add comment in faq
maxnoe Feb 28, 2018
a2db882
Merge pull request #10548 from MaxNoe/pgf_pdf_pages
anntzer Feb 28, 2018
6bb5994
Merge pull request #10624 from anntzer/py3
timhoffm Feb 28, 2018
82f8672
Support markers from Paths that consist of one line segment
lpsinger Feb 28, 2018
36dc4e7
Convert NaT to nan in date2num
efiring Feb 28, 2018
acc4e17
DOC: Update tutorial to explain colorbar API
jklymak Feb 28, 2018
466330b
document the reason for the change
stonebig Feb 28, 2018
09a17f4
pep8
stonebig Feb 28, 2018
d2e68ff
Merge pull request #10622 from stonebig/patch-1
jklymak Feb 28, 2018
9093edd
Simplify setupext by using globs.
anntzer Mar 1, 2018
7a73864
Merge pull request #10623 from TD22057/jpl_unit_tests
dstansby Mar 1, 2018
51c782e
Fix extra and missing spaces in constrainedlayout warning.
anntzer Mar 1, 2018
2d14a31
Merge pull request #10631 from efiring/convert_NaT
dopplershift Mar 1, 2018
59bbccb
ENH: autodecode pandas timestamps
jklymak Mar 1, 2018
433afcf
Merge pull request #10640 from anntzer/constrainedwarning
jklymak Mar 1, 2018
300fcb9
Add mplcairo to 3rdparty docs.
anntzer Mar 2, 2018
83b11dd
Improve Figure docstrings
timhoffm Feb 25, 2018
67eb32b
Merge branch 'master' into doc-figure
timhoffm Mar 2, 2018
d7feb4a
Merge pull request #10645 from anntzer/mplcairo
phobson Mar 2, 2018
71b7076
Merge pull request #10558 from cclauss/remove-six.PY2-from-boilerplat…
tacaswell Mar 2, 2018
79fb398
Merge pull request #10632 from lpsinger/short-marker-path
phobson Mar 2, 2018
072dd2b
Merge pull request #10635 from anntzer/setupext-glob
jklymak Mar 2, 2018
7657f82
Mock is in stdlib in Py3.
anntzer Mar 3, 2018
c3c10fa
Minor fixes to event handling docs.
anntzer Mar 3, 2018
e54939a
Merge pull request #10629 from jklymak/fix-enh-colorbar-constrainedla…
efiring Mar 3, 2018
e0283a9
Switch to per-file locking.
anntzer Feb 25, 2018
e9163a8
improve docstrings of pyplot.xticks and pyplot.yticks
timhoffm Jan 21, 2018
fd33d87
improve docstrings of pyplot.xlim and pyplot.ylim
timhoffm Jan 21, 2018
7ad7c62
improve docstrings of pyplot.xlabel and pyplot.ylabel
timhoffm Jan 23, 2018
6f28a57
improve docstrings of pyplot.xscale and pyplot.yscale
timhoffm Jan 23, 2018
39bd5c2
Homebrew python is now python 3
jkseppan Mar 3, 2018
ef43424
Merge pull request #10656 from anntzer/eventhandlingdoc
timhoffm Mar 3, 2018
8c7fab7
Use np.stack / np.column_stack where possible.
anntzer Feb 26, 2018
6385ccf
And some more broadcasting.
anntzer Feb 26, 2018
30ee515
Work towards removing reuse-of-axes-on-collision.
anntzer Mar 3, 2018
609e9bf
Merge pull request #10595 from timhoffm/doc-figure
anntzer Mar 3, 2018
ea02861
Merge pull request #10638 from jklymak/enh-autodecode-pandastimestamp
tacaswell Mar 3, 2018
6eef1c8
Merge pull request #10613 from jklymak/fix-color-resolution
tacaswell Mar 3, 2018
a472dab
Use deprecated decorator for Axes.set_color_style
timhoffm Mar 3, 2018
2c3809f
Use css to highlight deprecations in the docs.
timhoffm Mar 3, 2018
755e05e
Merge pull request #10661 from jkseppan/ci/brew-python
efiring Mar 3, 2018
3f4b4a3
improve docstring of Axes.loglog, Axes.semilogx, Axes.semilogy
timhoffm Jan 21, 2018
bc48e2f
Remove range notes on log docstrings
timhoffm Jan 22, 2018
4d5df41
Raise a ValueError when trying to init a LogScale with an invalid base
timhoffm Jan 22, 2018
0fbc50c
Improve Axes text/annotate related docstrings.
timhoffm Feb 25, 2018
5e00f69
More figure-related doc updates
timhoffm Mar 4, 2018
4f69414
FIX Speed up constrained layout
jklymak Mar 3, 2018
e8c651d
Merge pull request #10364 from timhoffm/workaround-property-list-indent
jklymak Mar 4, 2018
bad022e
Merge pull request #10660 from anntzer/axstack
timhoffm Mar 4, 2018
c1781ec
Merge pull request #10603 from anntzer/np110
efiring Mar 4, 2018
ebc3aa0
Merge pull request #10653 from anntzer/py3mockpytest
efiring Mar 4, 2018
cc48afd
Merge branch 'master' into remove-deprecated21
efiring Mar 4, 2018
1d45632
Delete GTK2 embedding examples.
QuLogic Feb 12, 2018
c0324d8
Explicitly require GTK 3.0 in GTK3 examples.
QuLogic Feb 12, 2018
34f6099
Remove deprecated backend methods.
QuLogic Feb 12, 2018
40e3879
Remove deprecated backends.
QuLogic Feb 12, 2018
56947bd
DOC: Convert remaining GTK2 examples to GTK3.
QuLogic Feb 12, 2018
962388f
Remove unused lineprops glade file.
QuLogic Feb 15, 2018
5d57a87
Update GTK example in the docs to GTK3.
QuLogic Feb 17, 2018
c4c40d0
Remove reference to delete gtktools toolkit.
QuLogic Feb 17, 2018
4987e3c
DOC: Add note that deprecated backends were removed.
QuLogic Feb 17, 2018
d6e93a3
Fix review items.
QuLogic Feb 17, 2018
2bfb08c
Merge pull request #10665 from timhoffm/deprecated-css
jklymak Mar 4, 2018
65ddd82
Merge pull request #10599 from timhoffm/axes-doc-updates
jklymak Mar 4, 2018
438aa08
Merge pull request #10608 from anntzer/remove-deprecated21
efiring Mar 4, 2018
5780fe7
Deprecation fixes.
anntzer Mar 4, 2018
6f24660
Filter out invalid value warnings in log scaling
dstansby Feb 15, 2018
3208322
Merge pull request #10672 from anntzer/fixes
efiring Mar 4, 2018
6a58143
Remove old nose testing code
dstansby Dec 3, 2017
241b2f2
Add API changes
dstansby Feb 15, 2018
b36367e
Move API change
dstansby Feb 19, 2018
7d85cf0
Merge pull request #9918 from dstansby/remove-nose-stuff
dstansby Mar 4, 2018
b5391ce
Merge pull request #10658 from jklymak/fix-speedup-constrainedlayout
tacaswell Mar 4, 2018
cfaa981
Some py3fication for matplotlib/__init__, setupext.
anntzer Mar 2, 2018
8cff894
figure_enter_event uses now LocationEvent instead of Event.
lkjell Nov 19, 2017
ce76875
backend gtk3, qt5/qt4 and wx pass in coordinates when entering figure.
lkjell Nov 19, 2017
3fdd527
bump warnings
lkjell Mar 2, 2018
64e37bc
Enable enter/leave notify for tk
lkjell Mar 4, 2018
03052fa
Py3fy font_manager.
anntzer Feb 18, 2018
4f5715a
Merge pull request #9814 from lkjell/fix_figure_enter_event
efiring Mar 5, 2018
42055ad
Merge pull request #10426 from QuLogic/delete-backends
efiring Mar 5, 2018
273e611
Rename #include guards without using reserved names.
QuLogic Feb 17, 2018
919bc86
Remove back-compat defined for old NumPy.
QuLogic Feb 17, 2018
14124a5
Remove C checks for PY3K macro.
QuLogic Feb 17, 2018
60adbd1
Remove C checks for old PY_*VERSION*.
QuLogic Feb 17, 2018
a186d7d
Remove outdated Py_TPFLAGS_HAVE_NEWBUFFER flag.
QuLogic Feb 17, 2018
d32e079
Add upstream link for PYOSINPUTHOOK_REPETITIVE.
QuLogic Feb 17, 2018
6355088
Fix tk icon loading.
anntzer Mar 5, 2018
d520128
Rely on generalized * and ** unpackings where possible.
anntzer Feb 24, 2018
879b2e9
Py3fy backend_pgf.
anntzer Feb 19, 2018
21c4f9e
Merge pull request #10507 from QuLogic/py3-c-ext
anntzer Mar 5, 2018
28bc28f
Convert Tick attributes to numpydoc
dstansby Mar 5, 2018
5df8380
Merge pull request #10666 from timhoffm/doc-figure-part-2
dstansby Mar 5, 2018
04f78be
Re-add of changes for flake8 and __cmp__ updates
TD22057 Mar 5, 2018
c32b6db
Small fixes
dstansby Mar 5, 2018
0e89377
Merge pull request #10522 from anntzer/py3fontmanager
jklymak Mar 5, 2018
4dfb105
Merge pull request #10652 from anntzer/py3setupextinit
timhoffm Mar 5, 2018
2898bfa
Merge pull request #10618 from TD22057/py3_jpl_units
jklymak Mar 5, 2018
90c30a0
Improve lazy-ticks realization.
anntzer Mar 5, 2018
862e693
Merge pull request #10532 from anntzer/py3pgf
timhoffm Mar 5, 2018
cc127eb
Merge pull request #10681 from anntzer/tkicon
jklymak Mar 5, 2018
8184e1f
Merge pull request #10596 from anntzer/filelock
jklymak Mar 6, 2018
47729ee
Stop checking wx version.
anntzer Mar 1, 2018
5cb2205
Merge pull request #10480 from dstansby/logscale-np-warning
jklymak Mar 6, 2018
5e22976
Merge pull request #10107 from lkjell/fix_selector_widget_stay_span
jklymak Mar 6, 2018
e2c1514
push fix code
jinshifen33 Mar 6, 2018
62948a8
Merge branch 'master' into art3d-docstrings
timhoffm Mar 6, 2018
3586eb3
Simplify venv docs.
anntzer Mar 5, 2018
bde55a0
Remove special-casing of _remove_method when pickling.
anntzer Mar 6, 2018
fb081dd
Remove incorrect warning in gca().
anntzer Mar 6, 2018
99fea83
Merge pull request #10564 from anntzer/simplerpickle
tacaswell Mar 6, 2018
53305a4
Merge pull request #10699 from anntzer/unwarn
jklymak Mar 6, 2018
6342cfc
Autoadd removal version to deprecation message.
anntzer Mar 6, 2018
a16182f
adding test case for creating a 3d graph from 2d [5724]
Osarumwense Mar 6, 2018
2dbda09
Fix signature docstring in _png extension.
anntzer Mar 7, 2018
48a1798
Added markevery validator to rcparams with basic rcparams test
salindersidhu Mar 7, 2018
51cc3f1
Merge pull request #10701 from anntzer/autogenremoveversion
dstansby Mar 7, 2018
514e506
FIX: enable extend kwargs with log scale colorbar
JelsB Mar 7, 2018
e21dd0f
Added markevery validator to rcparams with basic rcparams test
salindersidhu Mar 7, 2018
48c57d6
Merge branch 'fixed-issue-8576' of ssh://github.com/salindersidhu/mat…
salindersidhu Mar 7, 2018
4391fe9
Merge pull request #10697 from anntzer/remove-method
jklymak Mar 7, 2018
97f360a
Merge pull request #10690 from anntzer/lazyticks
jklymak Mar 7, 2018
d2f7bb1
Merge pull request #10683 from dstansby/ticker-params
jklymak Mar 7, 2018
ca9502e
BUG: Fix UnboundLocalError in contour labelling
dopplershift Mar 7, 2018
86a3c94
Merge pull request #10703 from anntzer/_pngdocstring
tacaswell Mar 7, 2018
ef5d01a
Merge pull request #10710 from dopplershift/fix-error
jklymak Mar 7, 2018
8afad91
Finished markevery validator and test cases. Added what's new and exa…
salindersidhu Mar 8, 2018
3bee936
Added markevery validator to rcparams with basic rcparams test
salindersidhu Mar 7, 2018
b73fe0f
Finished markevery validator and test cases. Added what's new and exa…
salindersidhu Mar 8, 2018
5eb2665
Merge branch 'fixed-issue-8576' of github.com:salindersidhu/matplotli…
salindersidhu Mar 8, 2018
3cae753
sys.platform is normalized to "linux" on Py3.
anntzer Mar 8, 2018
c4d4f11
Increased test coverage of markevery validator
salindersidhu Mar 8, 2018
9a2def6
Fixed typo
salindersidhu Mar 8, 2018
c7c88ae
pushing right image for test [5742]
Osarumwense Mar 8, 2018
3a71055
Fixed validate_markevery
salindersidhu Mar 8, 2018
3d6f2ae
FIX/TST constrained_layout remove test8 duplication
jklymak Mar 8, 2018
fd40f1b
BUG: sanitize norm extrema to be floats
Mar 8, 2018
3154b90
Resolved build errors
salindersidhu Mar 8, 2018
39fb7b5
Py3fication of unicode.
anntzer Mar 8, 2018
bfe5636
cleaning up code
Osarumwense Mar 8, 2018
d37407c
adds case for zdir=y
Osarumwense Mar 8, 2018
c85b029
Merge pull request #10721 from ngoldbaum/norm-unit-fix
dopplershift Mar 9, 2018
b51c650
Doc typo
hjoonchoi Mar 9, 2018
af1cab6
Doc Mistitle
hjoonchoi Mar 9, 2018
df2aacf
Fix logging level type
gregorybchris Mar 9, 2018
7111817
Avoid narrowing conversion in image_wrapper on 32-bit.
anntzer Mar 9, 2018
fa2a0d6
Merge pull request #10728 from jinshifen33/bugfix-for-issue-5742
WeatherGod Mar 9, 2018
8e87ec4
FIX: reorder linewidth setting before linestyle
jklymak Mar 9, 2018
fbcfe76
Merge pull request #10734 from gregorybchris/master
jklymak Mar 9, 2018
f31d35d
FIX: ffmpeg logging level
jklymak Mar 9, 2018
a65b9c1
DOC: add comment about buffer overrun at DEBUG
jklymak Mar 9, 2018
583d005
Merge pull request #10731 from roonjoot/doc
jklymak Mar 9, 2018
5b7a21e
Merge pull request #10736 from anntzer/narrowing
jklymak Mar 9, 2018
d7ac70a
Merge pull request #10636 from anntzer/wxversion
jklymak Mar 9, 2018
aadd0e0
Merge pull request #10542 from timhoffm/minor-cleanup-pep8-pep257
jklymak Mar 9, 2018
a408aff
PEP8: omg trailing white space
jklymak Mar 9, 2018
a79ff86
make centre_baseline legal for Text.set_verticalalignment
swfiua Mar 11, 2018
eecdc3c
FIX: re-instate verbose alias
jklymak Mar 8, 2018
f06c273
TEST: add test for extend kwarg in log scale contour
JelsB Mar 11, 2018
442dcda
Warning comment about log scale extend not needed anymore
JelsB Mar 11, 2018
d420e66
Merge pull request #10714 from anntzer/py3sysplat
timhoffm Mar 11, 2018
81bd65d
fix Text.__init__() to use set_*alignment methods
swfiua Mar 11, 2018
2ad362a
Merge pull request #10742 from jklymak/fix-reorder-linewitdth-setting
timhoffm Mar 11, 2018
4165add
Update copyright date to 2018
timhoffm Mar 11, 2018
d7329df
US/UK english typo confusion
swfiua Mar 11, 2018
543bb40
Bugfix for issue #8120 - inconsistent inset_axes position
AlexCav Mar 11, 2018
575e013
Merge pull request #10752 from timhoffm/update-copyright-date
jklymak Mar 11, 2018
8605b35
Fix image fmt detection for Path input.
anntzer Mar 12, 2018
e99bee8
Merge pull request #10726 from jklymak/FIX-re-instate-verbose-alias
tacaswell Mar 12, 2018
8bc52ad
Merge pull request #10739 from jklymak/fix-ffmpeg-log-level
dopplershift Mar 12, 2018
24d530e
Merge pull request #10754 from anntzer/pathlib-default-fmt
jklymak Mar 12, 2018
6b5537f
Fixed pep8 failures in test_axes_grid1.py
AlexCav Mar 12, 2018
5c09b01
FIX/TST OS X builds
jklymak Mar 13, 2018
5034698
FIX/TST OS X builds
jklymak Mar 13, 2018
ccd6377
Merge pull request #10771 from jklymak/fix-tst-mactravis
anntzer Mar 13, 2018
9e551aa
Remove dead wx testing code.
anntzer Mar 13, 2018
cd9d84f
Changed SVG text drawing logic to consider alpha of RGBA color
thuvejan Mar 13, 2018
8af1fac
Merge pull request #10751 from swfiua/cb
dopplershift Mar 13, 2018
d1c9ce6
repr style fixes.
anntzer Mar 8, 2018
769cfb8
API: check locator and formatter args when passed
jklymak Mar 13, 2018
78b11f5
Update layout of sidebar in documentation
timhoffm Feb 3, 2018
29f3d23
Style the search box to a single line
timhoffm Mar 4, 2018
a6651fe
FIX: back to isinstance
jklymak Mar 14, 2018
b2782e0
Merge pull request #10713 from salindersidhu/fixed-issue-8576
efiring Mar 14, 2018
8a27054
Merge pull request #10772 from jklymak/api-check-locatorargs
timhoffm Mar 14, 2018
e5be0f7
Mention Jupyter in matplotlib usage
Mar 14, 2018
bdd1cfe
hacky_fix_for_legend_typeerror_issue_10784
afvincent Mar 14, 2018
c9e90b9
update tests
afvincent Mar 14, 2018
1707b1e
Merge pull request #10773 from TeamChillUTSC/10419-svg-alpha-text
jklymak Mar 14, 2018
575b15d
Add link to jupyter.org
dniku Mar 14, 2018
4d6632e
Merge pull request #10756 from AlexCav/iss-8120-bugfix
jklymak Mar 14, 2018
809353c
Fix crash when imshow encounters longdouble.
br-Zhang Mar 13, 2018
7fdc831
Merge pull request #10774 from anntzer/deadwx
jenshnielsen Mar 15, 2018
144ba49
A hodgepodge of Py3 & style fixes.
anntzer Mar 15, 2018
dbf75b0
fixed comment typo
NQuibin Mar 15, 2018
f49c7b3
Merge pull request #10768 from jinshifen33/bugfix-for-issue-10342
jklymak Mar 15, 2018
ced4f22
Merge pull request #10794 from NQuibin/patch-1
jklymak Mar 15, 2018
464df4a
Merge pull request #10781 from Pastafarianist/patch-1
jklymak Mar 15, 2018
a7ca1a4
TEST: use compatible image test
JelsB Mar 15, 2018
694b3bf
TEST: convert all to PEP8 style
JelsB Mar 15, 2018
b1f5c43
Merge pull request #10793 from anntzer/style3
jklymak Mar 15, 2018
b083c2a
Merge pull request #9475 from anntzer/unify-aliases
jklymak Mar 15, 2018
c1eeb4c
Merge pull request #10787 from afvincent/fix_offsetbox_expand_mode
dopplershift Mar 15, 2018
ebe50c1
Merge pull request #10592 from anntzer/unpackgen
dopplershift Mar 15, 2018
d9fd08d
Merge remote-tracking branch 'matplotlib/v2.2.x'
tacaswell Mar 15, 2018
777fbe0
Merge pull request #10723 from anntzer/repr
timhoffm Mar 16, 2018
60e682a
Merge pull request #10400 from timhoffm/art3d-docstrings
WeatherGod Mar 16, 2018
95497a6
Merge pull request #10705 from JelsB/bug-fix-for-issue-7942
timhoffm Mar 16, 2018
1d22714
FIX: properties and setp on Table instances
tacaswell Mar 16, 2018
0e8a39f
MNT: catch more illegal '\'
tacaswell Mar 16, 2018
da1763c
DOC: make legend docstring interpolated
jklymak Mar 15, 2018
2653ce8
Merge pull request #10278 from timhoffm/axes-doc-log
tacaswell Mar 16, 2018
cc7d086
Merge pull request #10296 from timhoffm/pyplot-doc-xysettings
tacaswell Mar 16, 2018
6511253
Merge pull request #10806 from tacaswell/fix_escapes
phobson Mar 16, 2018
0a8a7db
Merge pull request #10805 from tacaswell/fix_properties
phobson Mar 16, 2018
bb337ad
Merge pull request #10725 from jklymak/fix-tst-constrainedlayout-badtest
anntzer Mar 16, 2018
51c2d37
Merge matplotlib/v2.2.x
tacaswell Mar 16, 2018
d20257c
Merge remote-tracking branch 'matplotlib/v2.2.x'
tacaswell Mar 16, 2018
58154f3
API: shift deprecation of TempCache class to 3.0
tacaswell Mar 16, 2018
8a4dde5
Merge pull request #10815 from tacaswell/API_shift_TempCache_deprecation
anntzer Mar 16, 2018
092c703
Merge pull request #10724 from anntzer/py3unicode
QuLogic Mar 16, 2018
fc73593
Merge pull request #10696 from anntzer/simplify-venv-docs
jklymak Mar 16, 2018
cbf782d
Add test to imread from url.
anntzer Mar 17, 2018
d607ea5
Deprecate vestigial Annotation.arrow.
anntzer Mar 17, 2018
6888d5d
DOC: fix
jklymak Mar 17, 2018
ded8822
DOC: fix
jklymak Mar 17, 2018
e03b005
Merge pull request #10817 from anntzer/imread-from-url
WeatherGod Mar 17, 2018
b46682c
Add some basic smoketesting for webagg (and wx).
anntzer Mar 17, 2018
864c9a8
Add print_rgba to backend_cairo.
anntzer Mar 18, 2018
4841a02
Merge pull request #10818 from anntzer/vestigial-arrow
timhoffm Mar 18, 2018
4257416
Merge pull request #10799 from jklymak/doc-interp-legenddocstring
timhoffm Mar 18, 2018
140b69a
Use long color names for default rcParams
timhoffm Mar 18, 2018
450f743
add page source link
timhoffm Mar 18, 2018
7433f66
Make function signatures more explicit
timhoffm Mar 18, 2018
74f06dd
Merge pull request #10374 from timhoffm/doc-sidebar-layout
tacaswell Mar 18, 2018
3251c3a
Propagate marker antialias setting to GraphicsContext.
anntzer Mar 18, 2018
98d05d4
Merge pull request #10829 from timhoffm/rc-default-color-names
efiring Mar 18, 2018
f9f7d52
Merge pull request #10830 from timhoffm/explicit-args-signature
efiring Mar 18, 2018
ccc35b0
Merge pull request #10833 from anntzer/marker-antialiasing
timhoffm Mar 19, 2018
307ec91
Merge pull request #10828 from anntzer/cairo-rgba
dopplershift Mar 19, 2018
6169fa2
Merge pull request #10823 from anntzer/test_webagg
dopplershift Mar 19, 2018
b2eba0c
DOC: Make colorbar tutorial examples look like colorbars.
efiring Mar 19, 2018
72f8295
fix a typo in the text
efiring Mar 19, 2018
f254b3b
Merge pull request #10835 from efiring/colorbar_only_fix_shape
timhoffm Mar 19, 2018
c081f5a
Don't use private attribute in tk example. Fix Toolbar class rename.
anntzer Mar 19, 2018
8991f9f
Merge pull request #10838 from anntzer/publictk
tacaswell Mar 19, 2018
5766c9f
FIX: ioerror font cache, second try
jklymak Mar 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ environment:
# theoretically the CONDA_INSTALL_LOCN could be only two: one for 32bit,
# one for 64bit because we construct envs anyway. But using one for the
# right python version is hopefully making it fast due to package caching.
- PYTHON_VERSION: "2.7"
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
TEST_ALL: "no"
- PYTHON_VERSION: "3.5"
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
TEST_ALL: "no"
Expand Down Expand Up @@ -62,7 +59,7 @@ install:
#
- conda create -q -n test-environment python=%PYTHON_VERSION%
msinttypes freetype=2.6 "libpng>=1.6.21,<1.7" zlib=1.2 tk=8.5
pip setuptools numpy mock pandas sphinx tornado
pip setuptools numpy pandas sphinx tornado
- activate test-environment
- echo %PYTHON_VERSION% %TARGET_ARCH%
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
Expand Down
21 changes: 6 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ doc-bundle-run: &doc-bundle
#

jobs:
docs-python35:
docs-python36:
docker:
- image: circleci/python:3.5
- image: circleci/python:3.6
steps:
- checkout

Expand Down Expand Up @@ -115,9 +115,9 @@ jobs:
name: "Deploy new docs"
command: ./.circleci/deploy-docs.sh

docs-python27:
docs-python35:
docker:
- image: circleci/python:2.7
- image: circleci/python:3.5
steps:
- checkout

Expand All @@ -128,23 +128,14 @@ jobs:
- run:
<<: *deps-install
environment:
NUMPY_VERSION: "==1.7.1"
# Linkchecker only works with python 2.7 for the time being.
# Linkchecker is currently broken with requests 2.10.0 so force an earlier version.
- run: pip install --user $PRE requests==2.9.2 linkchecker
NUMPY_VERSION: "==1.10.0"
- run: *mpl-install

- run: *doc-build

# We don't build the LaTeX docs here, so linkchecker will complain
- run: touch doc/build/html/Matplotlib.pdf

# Linkchecker only works with python 2.7 for the time being
- run:
name: linkchecker
command: ~/.local/bin/linkchecker build/html/index.html
working_directory: doc

- run: *doc-bundle
- store_artifacts:
path: doc/build/sphinx-gallery-files.tar.gz
Expand All @@ -166,4 +157,4 @@ workflows:
build:
jobs:
- docs-python35
- docs-python27
- docs-python36
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ result_images

# Nose/Pytest generated files #
###############################
.pytest_cache/
.cache/
.coverage
.coverage.*
Expand Down
50 changes: 24 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ addons:
- texlive-latex-extra
- texlive-latex-recommended
- texlive-xetex
- texlive-luatex

env:
global:
Expand All @@ -47,7 +48,6 @@ env:
- secure: "dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU="
- CYCLER=cycler
- DATEUTIL=python-dateutil
- MOCK=
- NOSE=
- NUMPY=numpy
- PANDAS=
Expand All @@ -65,29 +65,26 @@ env:

matrix:
include:
- python: 2.7
- python: 3.5
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
env:
- CYCLER=cycler==0.10
- DATEUTIL=python-dateutil==2.1
- MOCK=mock
- NOSE=nose
- NUMPY=numpy==1.7.1
- NUMPY=numpy==1.10.0
- PANDAS='pandas<0.21.0'
- PYPARSING=pyparsing==2.0.1
- PYTEST=pytest==3.1.0
- PYTEST_COV=pytest-cov==2.3.1
- SPHINX=sphinx==1.3
- python: 3.4
- python: 3.5
env: PYTHON_ARGS=-OO
- python: 3.6
env: DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8=pytest-pep8 RUN_PEP8=--pep8
- python: "nightly"
env: PRE=--pre
- os: osx
osx_image: xcode7.3
language: generic # https://github.com/travis-ci/travis-ci/issues/2312
env: MOCK=mock
only: master
cache:
# As for now travis caches only "$HOME/.cache/pip"
Expand All @@ -109,61 +106,62 @@ before_install:
export PATH=$PATH:/tmp/λ
export PATH=/usr/lib/ccache:$PATH
else
brew update
brew tap homebrew/gui
brew install python libpng ffmpeg imagemagick mplayer ccache
ci/travis/silence brew update
brew upgrade python
brew install ffmpeg imagemagick mplayer ccache
hash -r
which python
python --version
# We could install ghostscript and inkscape here to test svg and pdf
# but this makes the test time really long.
# brew install ghostscript inkscape
export PATH=/usr/local/opt/ccache/libexec:$PATH
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/opt/ccache/libexec:$PATH
fi

install:
# Upgrade pip and setuptools. Mock has issues with the default version of
# setuptools
- |
# Setup environment
# Setup environment.
ccache -s
git describe
# Upgrade pip and setuptools and wheel to get as clean an install as possible
pip install --upgrade pip setuptools wheel
# Upgrade pip and setuptools and wheel to get as clean an install as possible.
python -mpip install --upgrade pip setuptools wheel
- |
# Install dependencies from PyPI
pip install --upgrade $PRE \
# Install dependencies from PyPI.
python -mpip install --upgrade $PRE \
codecov \
coverage \
$CYCLER \
$MOCK \
$DATEUTIL \
$NOSE \
$NUMPY \
$PANDAS \
codecov \
coverage \
pillow \
$PYPARSING \
$DATEUTIL \
$SPHINX
$SPHINX \
tornado
# GUI toolkits are pip-installable only for some versions of Python so
# don't fail if we can't install them. Make it easier to check whether the
# install was successful by trying to import the toolkit (sometimes, the
# install appears to be successful but shared libraries cannot be loaded at
# runtime, so an actual import is a better check).
pip install cairocffi pgi &&
python -mpip install cairocffi pgi &&
python -c 'import pgi as gi; gi.require_version("Gtk", "3.0"); from pgi.repository import Gtk' &&
echo 'pgi is available' ||
echo 'pgi is not available'
pip install pyqt5==5.9 &&
python -mpip install pyqt5==5.9 &&
python -c 'import PyQt5.QtCore' &&
echo 'PyQt5 is available' ||
echo 'PyQt5 is not available'
pip install -U --pre \
python -mpip install -U \
--no-index -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04 \
wxPython &&
python -c 'import wx' &&
echo 'wxPython is available' ||
echo 'wxPython is not available'

pip install $PRE \
python -mpip install $PRE \
$PYTEST \
$PYTEST_COV \
pytest-faulthandler \
Expand All @@ -176,7 +174,7 @@ install:
cp ci/travis/setup.cfg .
- |
# Install matplotlib
pip install -ve .
python -mpip install -ve .

before_script:
- |
Expand Down
44 changes: 4 additions & 40 deletions INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,43 +32,14 @@ Although not required, we suggest also installing ``IPython`` for
interactive use. To easily install a complete Scientific Python
stack, see :ref:`install_scipy_dists` below.

.. _installing_windows:

Windows
-------

In case Python 2.7 or 3.4 are not installed for all users,
the Microsoft Visual C++ 2008
(`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=15336>`__
or
`32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=29>`__
for Python 2.7) or Microsoft Visual C++ 2010
(`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=14632>`__
or
`32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=5555>`__
for Python 3.4) redistributable packages need to be installed.

macOS
-----

If you are using Python 2.7 on a Mac you may need to do::

xcode-select --install

so that *subprocess32*, a dependency, may be compiled.

To use the native OSX backend you will need :ref:`a framework build
<osxframework-faq>` build of Python.


Linux
-----

On extremely old versions of Linux and Python 2.7 you may need to
install the master version of *subprocess32* (`see comments
<https://github.com/google/python-subprocess32/issues/12#issuecomment-304724113>`__).


Test Data
---------

Expand All @@ -83,9 +54,9 @@ To run the test suite:
* extract the :file:`lib\\matplotlib\\tests` or
:file:`lib\\mpl_toolkits\\tests` directories from the source distribution;
* install test dependencies: `pytest <https://pypi.python.org/pypi/pytest>`_,
`mock <https://pypi.python.org/pypi/mock>`_, Pillow, MiKTeX, GhostScript,
ffmpeg, avconv, ImageMagick, and `Inkscape <https://inkscape.org/>`_;
* run ``py.test path\to\tests\directory``.
Pillow, MiKTeX, GhostScript, ffmpeg, avconv, ImageMagick, and `Inkscape
<https://inkscape.org/>`_;
* run ``pytest path\to\tests\directory``.


Third-party distributions of Matplotlib
Expand Down Expand Up @@ -168,7 +139,7 @@ Dependencies

Matplotlib requires a large number of dependencies:

* `Python <https://www.python.org/downloads/>`_ (>= 2.7 or >= 3.4)
* `Python <https://www.python.org/downloads/>`_ (>= 3.5)
* `NumPy <http://www.numpy.org>`_ (>= |minimum_numpy_version|)
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__
* `dateutil <https://pypi.python.org/pypi/python-dateutil>`_ (>= 2.1)
Expand All @@ -178,10 +149,6 @@ Matplotlib requires a large number of dependencies:
* FreeType (>= 2.3)
* `cycler <http://matplotlib.org/cycler/>`__ (>= 0.10.0)
* `six <https://pypi.python.org/pypi/six>`_
* `backports.functools_lru_cache <https://pypi.python.org/pypi/backports.functools_lru_cache>`_
(for Python 2.7 only)
* `subprocess32 <https://pypi.python.org/pypi/subprocess32/>`_ (for Python
2.7 only, on Linux and macOS only)
* `kiwisolver <https://github.com/nucleic/kiwi>`__ (>= 1.0.0)

Optionally, you can also install a number of packages to enable better user
Expand All @@ -192,7 +159,6 @@ optional Matplotlib backends and the capabilities they provide.
* `PyQt4 <https://pypi.python.org/pypi/PyQt4>`_ (>= 4.4) or
`PySide <https://pypi.python.org/pypi/PySide>`_: for the Qt4Agg backend;
* `PyQt5 <https://pypi.python.org/pypi/PyQt5>`_: for the Qt5Agg backend;
* :term:`pygtk` (>= 2.4): for the GTK and the GTKAgg backend;
* :term:`wxpython` (>= 2.9 or later): for the WX or WXAgg backend;
* `cairocffi <https://cairocffi.readthedocs.io/en/latest/>`__ (>=
v0.8): for cairo based backends;
Expand Down Expand Up @@ -326,8 +292,6 @@ without fiddling with environment variables::
conda install pyqt
# this package is only available in the conda-forge channel
conda install -c conda-forge msinttypes
# for Python 2.7
conda install -c conda-forge backports.functools_lru_cache

# copy the libs which have "wrong" names
set LIBRARY_LIB=%CONDA_DEFAULT_ENV%\Library\lib
Expand Down
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ platforms. Matplotlib can be used in Python scripts, the Python and IPython
shell (à la MATLAB or Mathematica), web application servers, and various
graphical user interface toolkits.

NOTE: The current master branch is now Python 3 only. Python 2 support is
being dropped.

`Home page <http://matplotlib.org/>`_

Installation
Expand All @@ -49,16 +52,16 @@ Testing

After installation, you can launch the test suite::

py.test
pytest

Or from the Python interpreter::

import matplotlib
matplotlib.test()

Consider reading http://matplotlib.org/devel/coding_guide.html#testing for
more information. Note that the test suite requires pytest and, on Python 2.7,
mock. Please install with pip or your package manager of choice.
Consider reading http://matplotlib.org/devel/coding_guide.html#testing for more
information. Note that the test suite requires pytest. Please install with pip
or your package manager of choice.

Contact
=======
Expand Down
2 changes: 0 additions & 2 deletions build_alllocal.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
:: conda install pyqt
:: # this package is only available in the conda-forge channel
:: conda install -c conda-forge msinttypes
:: if you build on py2.7:
:: conda install -c conda-forge backports.functools_lru_cache

set TARGET=bdist_wheel
IF [%1]==[] (
Expand Down
14 changes: 14 additions & 0 deletions ci/travis/silence
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# Run a command, hiding its standard output and error if its exit
# status is zero.

stdout=$(mktemp -t stdout) || exit 1
stderr=$(mktemp -t stderr) || exit 1
"$@" >$stdout 2>$stderr
code=$?
if [[ $code != 0 ]]; then
cat $stdout
cat $stderr >&2
exit $code
fi
2 changes: 1 addition & 1 deletion ci/travis/test_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ fi

echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8

pytest $PYTEST_ARGS $RUN_PEP8
python -mpytest $PYTEST_ARGS $RUN_PEP8
1 change: 0 additions & 1 deletion doc-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ sphinx>=1.3,!=1.5.0,!=1.6.4
colorspacious
ipython
ipywidgets
mock
numpydoc>=0.4
pillow
sphinx-gallery>=0.1.12
Loading