Skip to content

[wip] Doc cleanup for examples/color/color_cycle and examples/animation/animated_histogram #8890

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 759 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
759 commits
Select commit Hold shift + click to select a range
35af6c0
Merge pull request #8867 from anntzer/eventloop
efiring Sep 18, 2017
4b50e49
Merge pull request #9169 from t20100/fix-restore-init-pyside
tacaswell Sep 18, 2017
6ab5288
Merge pull request #9169 from t20100/fix-restore-init-pyside
tacaswell Sep 18, 2017
e12db84
TST: add test for pandas + pcolormesh
tacaswell Sep 18, 2017
63e2810
Merge pull request #9157 from dstansby/osx-busy-cursor
tacaswell Sep 18, 2017
7ff959c
FIX: qt recursive draw
tacaswell Sep 18, 2017
ebd3a72
Merge pull request #9197 from dstansby/appveyor
tacaswell Sep 17, 2017
b4acccf
Minor fixes to tick docstrings
dstansby Sep 19, 2017
0817c66
Merge pull request #9192 from dstansby/set-tick-docstrings
NelleV Sep 19, 2017
ed44f27
get proper renderer width and height in FigureImage
jklymak Sep 19, 2017
b4788ba
Merge pull request #9195 from anntzer/empty-lognorm
dstansby Sep 18, 2017
172daf8
Merge pull request #9192 from dstansby/set-tick-docstrings
NelleV Sep 19, 2017
fb01a91
get proper renderer width and height in FigureImage
jklymak Sep 19, 2017
22091d6
get proper renderer width and height in FigureImage
jklymak Sep 19, 2017
272b377
Fixed tests to include svg and pdf for figimage
jklymak Sep 20, 2017
90aab86
Put a bit of commenting in
jklymak Sep 20, 2017
013d2e2
added baseline images
jklymak Sep 20, 2017
a473231
PEP-8: add space after comma in test
efiring Sep 20, 2017
90dcfe2
removed svg from tests and changed test names to match image names
jklymak Sep 20, 2017
f85a6c1
Shorten line, remove 2nd LooseVersion in comparrison
RobinD42 Sep 20, 2017
1a23a5a
Fixed mis-edited _base.py
jklymak Sep 20, 2017
30f7897
cleaned up duplicate code in test_image
jklymak Sep 21, 2017
a7ec9d3
Merge pull request #9031 from tropfcode/Rectangle-Selector-geometry-d…
dstansby Sep 21, 2017
9149d8c
Backport PR #9031: Added RectangleSelector.geometry docstring
dstansby Sep 21, 2017
f5893ce
Merge pull request #9212 from matplotlib/auto-backport-of-pr-9031
tacaswell Sep 22, 2017
7a3747f
Mark svg files as binary/generated in gitattributes.
anntzer Sep 22, 2017
884334d
TST: add extra processEvents call in test
tacaswell Sep 22, 2017
ad1534d
MNT: ensure no draws are pending in paintEvent
tacaswell Sep 22, 2017
a097c6f
STY: pep8 in docstrings
tacaswell Sep 22, 2017
e3e78be
FIX: always decode byte strings from AFM files as utf8
tacaswell Sep 18, 2017
ffbb57e
STY: remove extra line
tacaswell Sep 22, 2017
a6f38ab
Update wxpython wheel url for travis.
anntzer Sep 20, 2017
ffa4803
Merge pull request #9168 from jklymak/fixpcolormeshdatetime
tacaswell Sep 22, 2017
788abaf
Backport PR #9168: Fix pcolormesh and DatetimeIndex error
tacaswell Sep 22, 2017
cb9ddbc
Merge pull request #9213 from matplotlib/auto-backport-of-pr-9168
tacaswell Sep 22, 2017
80ffe40
Merge pull request #9187 from RobinD42/fix-AddTool-for-wxPy4.0.0b2
tacaswell Sep 22, 2017
5d0d3f5
Backport PR #9187: Fix wx_compat code for wxPython >= 4.0.0b2
tacaswell Sep 22, 2017
7dc7a32
Merge pull request #9215 from anntzer/svg-gitattributes
dstansby Sep 22, 2017
a1f635f
Merge pull request #9216 from matplotlib/auto-backport-of-pr-9187
tacaswell Sep 22, 2017
cece2d4
Merge pull request #9198 from tacaswell/fix_afm_unicode
tacaswell Sep 24, 2017
5f63dd4
Merge pull request #9204 from jklymak/fiximage
tacaswell Sep 24, 2017
052b52b
Merge pull request #9204 from jklymak/fiximage
tacaswell Sep 24, 2017
427e0bb
Merge remote-tracking branch 'matplotlib/v2.1.x'
tacaswell Sep 24, 2017
b3e9d7b
Merge pull request #9108 from tacaswell/fix_js_bug
tacaswell Sep 24, 2017
24622f3
Merge pull request #9108 from tacaswell/fix_js_bug
tacaswell Sep 24, 2017
918649a
Small index change
jklymak Sep 24, 2017
62450fd
Small index change
jklymak Sep 24, 2017
95d58f4
Merge pull request #9219 from jklymak/smallindexchange
tacaswell Sep 24, 2017
fa24e8c
Merge pull request #9219 from jklymak/smallindexchange
tacaswell Sep 24, 2017
b4b1802
update link to IPython stable doc
Carreau Sep 25, 2017
6ec497a
Merge pull request #9225 from Carreau/docupdate
dstansby Sep 25, 2017
95f41b5
Backport PR #9225: update link to IPython stable doc
dstansby Sep 25, 2017
04ee64d
DOC: add comment to tests on why double processEvent
tacaswell Sep 25, 2017
0c66232
FIX: use str (not unicode) to ensure comparison works on python2
tacaswell Sep 25, 2017
8982026
Merge pull request #9228 from tacaswell/fix_wx_versioncheck_lpy
anntzer Sep 25, 2017
95691f4
Merge pull request #9227 from matplotlib/auto-backport-of-pr-9225
dstansby Sep 25, 2017
73e4425
Use custom *Axis in polar plots.
QuLogic Aug 4, 2017
30b4a6c
Add a custom ThetaTick for polar plots.
QuLogic Aug 4, 2017
8c430e8
Add a custom RadialTick for polar plots.
QuLogic Aug 4, 2017
386bb30
Apply padding to radial ticks in polar plots.
QuLogic Aug 10, 2017
ba242b1
Apply padding to theta ticks in polar plots.
QuLogic Aug 10, 2017
a2531ee
Add clip path when resetting radial ticks.
QuLogic Aug 29, 2017
5f1ecbd
Add info about polar tick(label) changes.
QuLogic Aug 29, 2017
9529875
Restore old polar tick label behaviour for full circles.
QuLogic Aug 30, 2017
5b8d2df
Tweak padding on angular ticks to match previous.
QuLogic Aug 30, 2017
33377ce
Enable ticks on some polar plot tests.
QuLogic Aug 31, 2017
80a5f10
Cleanup polar tick changes based on review.
QuLogic Aug 31, 2017
77e2532
Ensure polar ticks are always "right-side up".
QuLogic Sep 25, 2017
228ee53
Add an 'auto' option to label rotation.
QuLogic Sep 25, 2017
549c07f
Re-create polar tests images with new ticks.
QuLogic Sep 25, 2017
15c57bd
Fix small grammatical errors.
QuLogic Sep 26, 2017
4792425
Merge pull request #9068 from QuLogic/polar-ticks
tacaswell Sep 26, 2017
6889c6d
Merge pull request #9068 from QuLogic/polar-ticks
tacaswell Sep 26, 2017
c3d57bc
Merge pull request #9199 from tacaswell/fix_qt_transient
anntzer Sep 26, 2017
940962a
FIX: add missing property decorators
tacaswell Sep 26, 2017
1ef7c13
Merge pull request #9231 from tacaswell/fix_deprecation_properties
anntzer Sep 26, 2017
6dcc881
Remove old matplotlib.externals imports.
QuLogic Nov 4, 2016
b7152f0
Remove unused six imports from axes_grid.
QuLogic Mar 24, 2017
e6a115c
BUG: Fix fill_between(x) with decreasing data (Fixes #9235)
dopplershift Sep 26, 2017
61f4fa3
Add test for #9235
dopplershift Sep 26, 2017
22d98a8
Merge pull request #9236 from dopplershift/fix-9235
NelleV Sep 26, 2017
f2c8fae
Merge pull request #9237 from QuLogic/toolkit-six
dopplershift Sep 26, 2017
3520374
Fix leak of FreeType glyphs.
QuLogic Sep 26, 2017
0067441
Always NUL-terminate TrueType font table buffer.
QuLogic Sep 27, 2017
b3136c0
wip: fixed some rST formatting and included changes recommended by @c…
johnh2o2 Sep 27, 2017
7a2fb4e
add filter to cbook.safe_first_element to avoid returning masked values
astromancer Sep 27, 2017
91f9670
add filter to cbook.safe_first_element to avoid returning masked values
astromancer Sep 27, 2017
7e27dcc
wip: fixed more rST errors, python make.py html runs without errors n…
johnh2o2 Sep 27, 2017
fe311da
Fix download of freetype 2.6.1.
anntzer Sep 27, 2017
affc5c6
Merge pull request #9243 from anntzer/freetype261-download
dopplershift Sep 27, 2017
699742e
Backport PR #9243: Fix download of freetype 2.6.1.
dopplershift Sep 27, 2017
c7f3def
Merge pull request #9245 from matplotlib/auto-backport-of-pr-9243
tacaswell Sep 27, 2017
d0c5321
replace collections.Sized check with np.size to better handle masked …
astromancer Sep 27, 2017
20aff4b
Merge pull request #9239 from QuLogic/sanitizer-fixes
dopplershift Sep 28, 2017
c5170ec
Fix passing shape (2,) input to Collections.set_offsets.
anntzer Sep 26, 2017
4fe22e1
Merge pull request #9232 from anntzer/fix-collections-offsets
tacaswell Sep 28, 2017
df1b18e
Merge pull request #9232 from anntzer/fix-collections-offsets
tacaswell Sep 28, 2017
a24d131
DOC: Update instructions on pandas converters
TomAugspurger Sep 28, 2017
963f913
Merge pull request #9251 from TomAugspurger/pandas-import-doc
tacaswell Sep 29, 2017
c8c76ad
Merge pull request #9251 from TomAugspurger/pandas-import-doc
tacaswell Sep 29, 2017
17ec416
Merge pull request #9174 from anntzer/remove-pylab-names-script
NelleV Sep 30, 2017
72d5b0c
DOC: Fix images in what's new for polar plots.
QuLogic Oct 1, 2017
b6b4138
DOC: Fix some broken links to PolarAxes methods.
QuLogic Oct 1, 2017
2b789a2
DOC: Fix broken link to legend demo.
QuLogic Oct 1, 2017
c08e75a
Remove four unused variables in src/_path.h.
kianasun Oct 1, 2017
d2d3626
DOC: Add links all across what's new page.
QuLogic Oct 2, 2017
49c8219
DOC: Minor tweaks to what's new page.
QuLogic Oct 2, 2017
793635c
Merge pull request #9258 from skx19952/unused-variables
anntzer Oct 2, 2017
72b75c9
Merge pull request #9259 from QuLogic/whatsnew-fixes
tacaswell Oct 2, 2017
a1dc966
DOC: Correct review issues with what's new page.
QuLogic Oct 2, 2017
3809204
DOC: Add more plots to What's new page.
QuLogic Oct 2, 2017
7ef54d8
DOC: put in top-level sections
tacaswell Oct 2, 2017
3e67e1a
DOC: move polar plot whats new entry
tacaswell Oct 2, 2017
cbdb552
DOC: move js animation whats new
tacaswell Oct 2, 2017
e5784e3
DOC: move TransformedPatchPath docs
tacaswell Oct 2, 2017
10272f4
DOC: move checkbox widget docs
tacaswell Oct 2, 2017
92f211c
DOC: move animation ABC whats new
tacaswell Oct 2, 2017
1f41d33
DOC: move AnchoreSizeBar whats new
tacaswell Oct 2, 2017
e7b3fc7
DOC: move annotation whats new
tacaswell Oct 2, 2017
e5171ad
DOC: move mplot3d whats new
tacaswell Oct 2, 2017
109aaf7
DOC: move quiver/barbs whats new
tacaswell Oct 2, 2017
ec8b1d3
DOC: move hexbin whats new
tacaswell Oct 2, 2017
bfa2af3
DOC: move the legend whats new
tacaswell Oct 2, 2017
2947041
DOC: move figure clear what new
tacaswell Oct 2, 2017
48e2280
DOC: remove avconv whats new
tacaswell Oct 2, 2017
c9e5ccc
DOC: move non-finite axis limits whats new to api changes
tacaswell Oct 2, 2017
2773dae
DOC: move meta-data whats new
tacaswell Oct 2, 2017
0804809
DOC: move LogFormatterMathtext whats new
tacaswell Oct 2, 2017
4841e9c
DOC: move patch simplification whats new
tacaswell Oct 2, 2017
b0c71ca
DOC: move PercentFormatter whats new
tacaswell Oct 2, 2017
4570155
DOC: move quiverkey whats new
tacaswell Oct 2, 2017
f6331fb
DOC: move reproducible whats new
tacaswell Oct 2, 2017
9690898
DOC: move collection scatter flattening docs to api changes
tacaswell Oct 2, 2017
5fb27d1
DOC: move colorbare reversed whats new
tacaswell Oct 2, 2017
6652dc7
DOC: move setp whats new
tacaswell Oct 2, 2017
92a4835
DOC: move and expand streamplot whats new
tacaswell Oct 2, 2017
9adf3d9
DOC: move tick_params rotation whats new
tacaswell Oct 2, 2017
28afbf6
DOC: move shaded 3D bar whats new docs
tacaswell Oct 2, 2017
1b6326d
DOC: move autofmt_xdata whats new
tacaswell Oct 2, 2017
429f961
DOC: move subplot2grid whats new
tacaswell Oct 2, 2017
bf6f801
DOC: hove fill_betweenx whats new
tacaswell Oct 2, 2017
9731438
DOC: hove rcParams validation whats new
tacaswell Oct 2, 2017
f81ec16
DOC: move EngFormatter whats new
tacaswell Oct 2, 2017
266f0c0
DOC: remove temporary heading
tacaswell Oct 2, 2017
6f27317
DOC: document changing font cache to json
tacaswell Oct 2, 2017
88894a9
DOC: add stub sections
tacaswell Oct 2, 2017
92552b2
Minor fixes to github templates.
anntzer Oct 2, 2017
170710d
Revert "Merge pull request #8539 from Tuan333/tuan"
tacaswell Oct 2, 2017
3a58899
DOC: fix headline
tacaswell Oct 2, 2017
2765eef
Merge pull request #9265 from tacaswell/rev_revert_8539
tacaswell Oct 2, 2017
0b7e02d
Merge pull request #9266 from anntzer/github-templates
tacaswell Oct 2, 2017
5df0e4d
Remove four unused variables in src/_path.h.
kianasun Oct 1, 2017
7d2a06c
Fix warnings about member initialization order.
QuLogic Oct 3, 2017
484652c
DOC: update github stats
tacaswell Oct 3, 2017
b392d46
REL: v2.1.0
tacaswell Oct 3, 2017
43016ac
Include the default of "plot_pre_code" of the plot directive in the d…
MSeifert04 Oct 3, 2017
9986196
Merge pull request #9272 from MSeifert04/include-plot-directive-preco…
tacaswell Oct 3, 2017
1f95423
Merge pull request #9270 from QuLogic/cpp-warnings
tacaswell Oct 3, 2017
028b098
Remove scatter_profile example.
anntzer Oct 4, 2017
5a15e2a
DOC: fill in remaining whats new entries
tacaswell Oct 4, 2017
922156f
Merge pull request #9278 from anntzer/remove-scatter_profile
tacaswell Oct 4, 2017
5f1762e
Merge pull request #9278 from anntzer/remove-scatter_profile
tacaswell Oct 4, 2017
a278dc2
Update doc strings
ImportanceOfBeingErnest Oct 4, 2017
bfe8caf
Update dates.py
ImportanceOfBeingErnest Oct 4, 2017
1b89400
Update dates.py
ImportanceOfBeingErnest Oct 4, 2017
de0848e
Update docstrings and allow infinite counts for plot_{surface,wirefra…
anntzer Oct 4, 2017
c1fa7fc
Fix documents of semilogx and semilogy.
kianasun Oct 2, 2017
9cb0f74
Merge pull request #9277 from anntzer/plot-surface
WeatherGod Oct 5, 2017
703538a
STY: removing trailing whitespace
tacaswell Oct 5, 2017
df6139b
Backport PR #9277: plot_surface docstring + edge case fix
WeatherGod Oct 5, 2017
7b58314
DOC: Fix minor capitalization issues.
QuLogic Oct 5, 2017
cd9ca9d
Ask Appveyor to ignore certain branches.
Carreau Oct 5, 2017
589b953
Merge pull request #9286 from Carreau/skip-autobackport
tacaswell Oct 5, 2017
a31f421
Backport PR #9286: Ask Appveyor to ignore certain branches.
tacaswell Oct 5, 2017
7ae781f
Merge pull request #9287 from matplotlib/auto-backport-of-pr-9286
tacaswell Oct 5, 2017
df79954
Throw std::runtime_exception instead of char*.
anntzer Oct 5, 2017
790c843
Merge pull request #9268 from skx19952/semilog-doc
dstansby Oct 6, 2017
4f26ff1
Backport PR #9268: Fix documents of semilogx and semilogy.
dstansby Oct 6, 2017
e7f6d9d
Merge pull request #9290 from matplotlib/auto-backport-of-pr-9268
QuLogic Oct 6, 2017
3b52f44
Update venv faq.
anntzer Sep 20, 2017
296befb
Update installation faq.
anntzer Sep 20, 2017
10f78c4
Update troubleshooting faq.
anntzer Sep 20, 2017
ca0114f
Fully switch from setup.py install to pip.
anntzer Sep 21, 2017
89183ba
Merge pull request #9289 from anntzer/dont-throw-cpp-strings
tacaswell Oct 6, 2017
dc3a82a
Backport PR #9289: Throw std::runtime_exception instead of char*.
tacaswell Oct 6, 2017
01871e4
Merge pull request #9297 from matplotlib/auto-backport-of-pr-9289
QuLogic Oct 6, 2017
be87212
Restore better error message on std::runtime_error.
anntzer Oct 6, 2017
6d89c85
DOC: respond to review comments
tacaswell Oct 6, 2017
8d40a84
DOC: remove all whats new 'Example' sub-headings
tacaswell Oct 6, 2017
b823496
DOC: remove api change entry for reverted change
tacaswell Oct 6, 2017
2ee903a
DOC: merge up and organize api changes
tacaswell Oct 7, 2017
d8454ad
DOC: tweak whats new a bit
tacaswell Oct 7, 2017
87960f8
DOC: tweak package manager istall wording
tacaswell Oct 7, 2017
c52dd21
In text, report to verbose and return instead of exception for non-fi…
jklymak Oct 6, 2017
3ae1336
DOC: tweak OSX install faq
tacaswell Oct 7, 2017
1214252
DOC: fix ghissue markup
tacaswell Oct 7, 2017
7c06c7f
Don't use pytest.filterwarings, which needs pytest>=3.2.
anntzer Oct 7, 2017
5562bf0
Tweak wording in install faq.
anntzer Oct 7, 2017
d5e10fe
Merge pull request #9303 from anntzer/no-pytest-filterwarnings
dstansby Oct 7, 2017
a1c3db2
Backport PR #9303: Don't use pytest.filterwarings, which needs pytest…
dstansby Oct 7, 2017
1d720c4
Merge pull request #9307 from matplotlib/auto-backport-of-pr-9303
dstansby Oct 7, 2017
0493add
Merge pull request #9283 from matplotlib/auto-backport-of-pr-9277
dstansby Oct 7, 2017
d4f2540
DOC: minor review comments
tacaswell Oct 7, 2017
39a2924
TST: add test of text with non finite positions
tacaswell Oct 7, 2017
ad8ef63
Merge pull request #9295 from jklymak/textcheckpos
anntzer Oct 7, 2017
c5a1c48
Backport PR #9295: In text, warn and return instead of raise exceptio…
anntzer Oct 7, 2017
182430d
DOC: minor edits
tacaswell Oct 7, 2017
2ba2bab
DOC: one last double backquote
tacaswell Oct 7, 2017
129403c
Merge pull request #9299 from anntzer/c++-std-runtime_error
tacaswell Oct 7, 2017
f2bb53c
Backport PR #9299: Restore better error message on std::runtime_error.
tacaswell Oct 7, 2017
ed96c22
Merge pull request #9260 from QuLogic/whatsnew-plots
tacaswell Oct 7, 2017
a027a02
Merge pull request #9260 from QuLogic/whatsnew-plots
tacaswell Oct 7, 2017
cc7de70
Merge pull request #9291 from anntzer/doc-updates
tacaswell Oct 7, 2017
22c088e
Merge pull request #9291 from anntzer/doc-updates
tacaswell Oct 7, 2017
9d88b8c
Merge pull request #9308 from matplotlib/auto-backport-of-pr-9295
tacaswell Oct 7, 2017
9173c86
DOC: add v2.1.0 DOI
tacaswell Oct 7, 2017
5645f24
DOC: Update docstring to numpy format for last few functions in trans…
TomDonoghue Oct 8, 2017
132200d
Merge pull request #9310 from matplotlib/auto-backport-of-pr-9299
tacaswell Oct 8, 2017
778ff3c
Merge remote-tracking branch 'matplotlib/v2.1.0-doc' into v2.1.x
tacaswell Oct 8, 2017
dde2749
Merge remote-tracking branch 'matplotlib/v2.1.x'
tacaswell Oct 8, 2017
8f9a208
DOC: Update docstring to numpy format for last few functions in trans…
TomDonoghue Oct 8, 2017
e0b4d6c
DOC: update sphinx-gallery configuration
tacaswell Oct 8, 2017
e317901
Merge pull request #9325 from tacaswell/doc_fix_config
tacaswell Oct 8, 2017
2b783c3
Merge remote-tracking branch 'matplotlib/v2.1.0-doc' into v2.1.x
tacaswell Oct 8, 2017
2181453
Merge remote-tracking branch 'matplotlib/v2.1.x'
tacaswell Oct 8, 2017
eb92ab7
Fix NameError: name 'os' is not defined
cgohlke Oct 9, 2017
969de0a
Merge pull request #9328 from cgohlke/patch-2
dstansby Oct 9, 2017
d50776c
Update dates.py
ImportanceOfBeingErnest Oct 9, 2017
d46aefb
Fix poorly done deprecations in image.py.
anntzer Oct 9, 2017
f34627d
Axis user guide (#9323)
tdpetrou Oct 9, 2017
5a0d489
Merge pull request #9242 from astromancer/errorbar-bugfix
dstansby Oct 9, 2017
05b5759
TST: add test of deprecated properties
tacaswell Oct 9, 2017
e331717
Add descriptions for remaining event handling examples
divyam3897 Oct 9, 2017
c166fa1
Merge pull request #9279 from ImportanceOfBeingErnest/patch-2
dstansby Oct 9, 2017
28ae8eb
Merge pull request #9333 from divyam3897/descriptionExamples
tacaswell Oct 10, 2017
1bccf3c
Fix typo of pixels
deepyaman Oct 10, 2017
383091a
Merge pull request #9342 from deepyaman/fix-typo
dstansby Oct 10, 2017
10eff27
Update descriptions for images_contours_and_fields
divyam3897 Oct 10, 2017
4ccfccb
Merge pull request #9341 from divyam3897/updateDescriptions
dstansby Oct 10, 2017
3777136
Document alternative to iterpnames.
anntzer Oct 10, 2017
ad730d1
Merge pull request #9335 from anntzer/figureoptions-fix
tacaswell Oct 10, 2017
7ff9287
Fix edgecolor being only applied to first bar.
anntzer Oct 10, 2017
95805d2
Merge pull request #9353 from anntzer/bar-edgecolor-cycle
dstansby Oct 11, 2017
872dd49
minor documentation changes, color_cycle has been moved from examples…
johnh2o2 Jul 15, 2017
faa41af
added rst note for link to external cycler api in the color_cycle docs
johnh2o2 Jul 15, 2017
07cfaf7
put plt.show() back in
johnh2o2 Jul 15, 2017
6df56da
wip: fixed some rST formatting and included changes recommended by @c…
johnh2o2 Sep 27, 2017
ee36b78
wip: fixed more rST errors, python make.py html runs without errors n…
johnh2o2 Sep 27, 2017
ca5cf03
renamed 02_intermediate reference in whats_new_1.5.rst, deleted 02_in…
johnh2o2 Oct 11, 2017
89b9ffb
wip: fixed merge conflicts from origin branch
johnh2o2 Oct 11, 2017
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
  •  
  •  
  •  
23 changes: 14 additions & 9 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# https://github.com/rmcgibbo/python-appveyor-conda-example

# Backslashes in quotes need to be escaped: \ -> "\\"
branches:
except:
- /auto-backport-.*/

environment:

Expand All @@ -14,7 +17,7 @@ environment:
CMD_IN_ENV: cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd
# Workaround for https://github.com/conda/conda-build/issues/636
PYTHONIOENCODING: UTF-8
PYTEST_ARGS: -rawR --timeout=300 --durations=25 -n %NUMBER_OF_PROCESSORS% --cov-report= --cov=lib -m "not network"
PYTEST_ARGS: -rawR --timeout=300 --durations=25 --cov-report= --cov=lib -m "not network"
PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky collection order
# https://github.com/pytest-dev/pytest/issues/920
# https://github.com/pytest-dev/pytest/issues/1075
Expand All @@ -24,12 +27,12 @@ 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.
# - TARGET_ARCH: "x64"
# CONDA_PY: "27"
# CONDA_NPY: "18"
# PYTHON_VERSION: "2.7"
# TEST_ALL: "no"
# CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
- TARGET_ARCH: "x64"
CONDA_PY: "27"
CONDA_NPY: "18"
PYTHON_VERSION: "2.7"
TEST_ALL: "no"
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
- TARGET_ARCH: "x64"
CONDA_PY: "35"
CONDA_NPY: "110"
Expand Down Expand Up @@ -62,7 +65,9 @@ install:
- set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH%;
- set PYTHONUNBUFFERED=1
# for obvci_appveyor_python_build_env.cmd
- conda install -c conda-forge --yes --quiet obvious-ci
- conda update --all --yes
- conda install anaconda-client=1.6.3 --yes
- conda install -c conda-forge --yes obvious-ci
# for msinttypes and newer stuff
- conda config --prepend channels conda-forge
- conda config --set show_channel_urls yes
Expand All @@ -88,7 +93,7 @@ install:
- echo %PYTHON_VERSION% %TARGET_ARCH%
- if %PYTHON_VERSION% == 2.7 conda install -q backports.functools_lru_cache
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout

# Let the install prefer the static builds of the libs
- set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
Expand Down
169 changes: 169 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
# Circle CI configuration file
# https://circleci.com/docs/

version: 2


###########################################
# Define some common steps as YAML anchors.
#

apt-run: &apt-install
name: Install apt packages
command: |
sudo apt-get -qq update
sudo apt-get install -y \
inkscape \
libav-tools \
dvipng \
pgf \
lmodern \
cm-super \
texlive-latex-base \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-latex-recommended \
texlive-xetex \
graphviz \
libgeos-dev \
otf-freefont

fonts-run: &fonts-install
name: Install custom fonts
# We manually install Humor-Sans using the package from Ubuntu 14.10.
# Unfortunately humor sans is not available in the Ubuntu version used by
# CircleCI but we can manually install the deb from a later version since
# it is basically just a .ttf file.
command: |
mkdir -p ~/.local/share/fonts
wget -nc https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O ~/.local/share/fonts/Felipa-Regular.ttf || true
if [ ! -f ~/.local/share/fonts/Humor-Sans.ttf ]; then
wget https://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
mkdir tmp
dpkg -x fonts-humor-sans_1.0-1_all.deb tmp
cp tmp/usr/share/fonts/truetype/humor-sans/Humor-Sans.ttf ~/.local/share/fonts
rm -rf tmp
else
echo "Not downloading Humor-Sans; file already exists."
fi
fc-cache -f -v

pip-run: &pip-install
# Upgrade pip and setuptools and wheel to get as clean an install as possible
name: Upgrade pip, setuptools, wheel
command: |
pip install --upgrade --user pip
pip install --upgrade --user wheel
pip install --upgrade --user setuptools

deps-run: &deps-install
name: Install Python dependencies
command: |
pip install --user python-dateutil numpy${NUMPY_VERSION} pyparsing!=2.1.6 cycler codecov coverage sphinx pillow
pip install --user -r doc-requirements.txt

mpl-run: &mpl-install
name: Install Matplotlib
command: pip install --user -ve .

doc-run: &doc-build
name: Build documentation
command: python make.py html
working_directory: doc

doc-bundle-run: &doc-bundle
name: Bundle sphinx-gallery documentation artifacts
command: tar cf doc/build/sphinx-gallery-files.tar.gz doc/api/_as_gen doc/gallery doc/tutorials
when: always


##########################################
# Here is where the real jobs are defined.
#

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

- run: *apt-install
- run: *fonts-install
- run: *pip-install

- run: *deps-install
- run: *mpl-install

- run: *doc-build

- run: *doc-bundle
- store_artifacts:
path: doc/build/sphinx-gallery-files.tar.gz

- store_artifacts:
path: doc/build/html

- run:
name: "Built documentation is available at:"
command: echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"

- add_ssh_keys:
fingerprints:
- "78:13:59:08:61:a9:e5:09:af:df:3a:d8:89:c2:84:c0"
- deploy:
name: "Deploy new docs"
command: ./.circleci/deploy-docs.sh

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

- run: *apt-install
- run: *fonts-install
- run: *pip-install

- 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
- 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

- store_artifacts:
path: doc/build/html

- run:
name: "Built documentation is available at:"
command: echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"


#########################################
# Defining workflows gets us parallelism.
#

workflows:
version: 2
build:
jobs:
- docs-python35
- docs-python27
28 changes: 28 additions & 0 deletions .circleci/deploy-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

set -e

if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" -o "$CIRCLE_BRANCH" != "master" -o "$CIRCLE_PULL_REQUEST" != "" ]; then
echo "Not uploading docs from non-master branch or non-Matplotlib org."
exit
fi

git clone git@github.com:matplotlib/devdocs.git

cd devdocs

git checkout --orphan gh-pages || true
git reset --hard first_commit

git rm -rf .
cp -R ../doc/build/html/. .
touch .nojekyll

git config user.email "MatplotlibCircleBot@nomail"
git config user.name "MatplotlibCircleBot"
git config push.default simple

git add .
git commit -m "Docs build of $CIRCLE_SHA1"

git push --set-upstream origin gh-pages --force
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
* text=auto
*.svg binary
*.svg linguist-language=true
lib/matplotlib/_version.py export-subst
File renamed without changes.
11 changes: 6 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@

**Matplotlib version**
<!--Please specify your platform and versions of the relevant libraries you are using:-->
* Operating System:
* Matplotlib Version:
* Python Version:
* Jupyter Version (if applicable):
* Other Libraries:
* Operating system:
* Matplotlib version:
* Matplotlib backend (`print(matplotlib.get_backend())`):
* Python version:
* Jupyter version (if applicable):
* Other libraries:

<!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda-->
<!--If you installed from conda, please specify which channel you used if not the default-->
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ detail. Why is this change required? What problem does it solve?-->
- [ ] Code is PEP 8 compliant
- [ ] New features are documented, with examples if plot related
- [ ] Documentation is sphinx and numpydoc compliant
- [ ] Added an entry to doc/users/whats_new.rst if major new feature
- [ ] Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
- [ ] Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

<!--We understand that PRs can sometimes be overwhelming, especially as the
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.pydevproject
*.swp
.idea
.vscode/

# Compiled source #
###################
Expand Down
Loading