summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #15666 from rossbar/enh/poly_strMatti Picus2020-06-043-3/+34
|\ | | | | ENH: Improved `__str__` for polynomials
| * DOC: Update poly class refguide printing.Ross Barnowski2020-05-152-3/+26
| | | | | | | | | | | | | | | | | | Update routines.polynomials.classes doc in the refguide to reflect changes to polynomial printing. Add additional information to the document about the various ways that the string representation of polynomial expressions can be controlled via formatting.
| * ENH: Improved __str__, __format__ for polynomialsRoss Barnowski2020-05-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the printing style of instances of the convenience classes in the polynomial package to a more "human-readable" format. __str__ has been modified and __format__ added to ABCPolyBase, modifying the string representation of polynomial instances, e.g. when printed. __repr__ and the _repr_latex method (which is used in the Jupyter environment are unchanged. Two print formats have been added: 'unicode' and 'ascii'. 'unicode' is the default mode on *nix systems, and uses unicode values for numeric subscripts and superscripts in the polynomial expression. The 'ascii' format is the default on Windows (due to font considerations) and uses Python-style syntax to represent powers, e.g. x**2. The default printing style can be controlled at the package-level with the set_default_printstyle function. The ABCPolyBase.__str__ has also been made to respect the linewidth printoption. Other parameters from the printoptions dictionary are not used. Co-Authored-By: Warren Weckesser <warren.weckesser@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | DOC: NEP for C style guide (#16430)bjnath2020-06-042-210/+263
| | | | | | | | | | | | | | * DOC: NEP for C style guide Draft of NEP 45 setting code style for NumPy C code, using the wording of doc/C_STYLE_GUIDE.rst.txt
* | Merge pull request #16465 from bjnath/dev_workflow_link_fixRalf Gommers2020-06-012-11/+11
|\ \ | | | | | | DOC: Fix development_workflow links
| * | DOC: Fix development_workflow linksBen Nathanson2020-06-012-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed links for branch delete and graph visualizer. Updated instructions for branch delete (git since 1.7.0 (Sept 2010) has allowed --delete sted ':'). 'Learn git' link pointed to Bitbucket instructions; replaced with GitHub instructions. Minor rewording in 'Pushing changes to the main repo'. This is NOT a review of the page, only some fixes.
* | | Merge pull request #16306 from seberg/troubleshooting-fix-envCharles Harris2020-05-311-4/+2
|\ \ \ | | | | | | | | DOC: Fix troubleshooting code snippet when env vars are empty
| * | | DOC: Fix troubleshooting code snippet when env vars are emptySebastian Berg2020-05-201-4/+2
| | | | | | | | | | | | | | | | | | | | The previous snippet worked fine, but not when the environment variables were completly empty.
* | | | DEP: Deprecate passing shape=None to mean shape=()Eric Wieser2020-05-311-0/+7
| | | | | | | | | | | | | | | | This requires some minor tweaks in `np.random` because there the two have different meanings, with `()` meaning 0d array and `None` meaning scalar.
* | | | Merge pull request #16447 from rgommers/make-showCharles Harris2020-05-311-1/+6
|\ \ \ \ | | | | | | | | | | DOC: add a "make show" command to doc/Makefile
| * | | | DOC: add a "make show" command to doc/MakefileRalf Gommers2020-05-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opens the front page of the docs built with `make html` in the default web browser. Idea copied from SciPy [ci skip]
* | | | | DOC: Add a NEP link to all neps.Matthias Bussonnier2020-05-3040-21/+87
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usefull for crossreferencing and intersphinx Here is a snippet to update it if other neps are missing it: In [1]: neps = !ls nep-0* ...: for nep in neps: ...: number = nep[6:8] ...: with open(nep, 'r') as f: ...: data = f.read() ...: ...: if f'.. _NEP{number}:' in data: ...: continue ...: with open(nep, 'w') as f: ...: f.write('.. _NEP'+number+':\n') ...: f.write(data) ...:
* | | | Merge pull request #16365 from WarrenWeckesser/tweak-doc-makefileCharles Harris2020-05-301-1/+1
|\ \ \ \ | | | | | | | | | | DOC: Fix an obvious mistake in a message printed in doc/Makefile.
| * | | | DOC: Fix an obvious mistake in a message printed in doc/Makefile.Warren Weckesser2020-05-241-1/+1
| | | | |
* | | | | Update nep-0029-deprecation_policy.rstMatthias Bussonnier2020-05-291-1/+1
| | | | |
* | | | | DOC: Add a reference into NEP 29,Matthias Bussonnier2020-05-291-0/+2
| |_|/ / |/| | | | | | | | | | | | | | | | | | | use the same reference format as other NEP having reference, (uppercase NEP, and on the first line of the document). This make it easier to link to this NEP with intersphinx.
* | | | Merge pull request #16428 from bjnath/add-style-guideRalf Gommers2020-05-291-0/+7
|\ \ \ \ | | | | | | | | | | DOC: Add style guide to howto_document
| * | | | DOC: Add style guide to howto_documentBen Nathanson2020-05-291-0/+7
| | | | | | | | | | | | | | | | | | | | Fixes gh-16262
* | | | | DOC: remove "Provisional" from NEPs overview if no NEPs have that statusRalf Gommers2020-05-292-1/+9
| | | | |
* | | | | DOC: change NEP 18 status to FinalRalf Gommers2020-05-291-1/+1
|/ / / /
* | | | DOC,BLD: Update sphinx conf to use xelatex.Ross Barnowski2020-05-271-0/+3
| | | | | | | | | | | | | | | | | | | | Switch from pdflatex to xelatex as the latex engine used for generating the latex/pdf version of the documentation.
* | | | Merge pull request #15900 from seberg/deprecate-empty-indexing-errorMatti Picus2020-05-281-0/+16
|\ \ \ \ | | | | | | | | | | DEP: Ensure indexing errors will be raised even on empty results
| * | | | DEP: Ensure indexing errors will be raised even on empty resultsSebastian Berg2020-05-271-0/+16
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when the indexing result was empty, no check was done for backward compatibility with pre 1.9 (assumingly). This may have been only necessary when the outer iteration is empty as opposed to when just the inner iteration is empty, though. In any case, it is arguably buggy to ignore indexing errors in this case. Since there may have been a reason back in the day, and this is probably extremely rare, optiming for a brief deprecation period for now. Closes gh-15898 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Matti Picus <matti.picus@gmail.com>
* | | | DOC,BLD: Update make dist html target.Ross Barnowski2020-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Switch html target for make dist to move away from the html-scipyorg theme. Makes the theme of the archived docs including stable consistent with the devdocs
* | | | MAINT,DOC: add index for user docs. (#16373)Ross Barnowski2020-05-271-0/+26
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * MAINT,DOC: add index for user docs. Adds an index.rst for the user documentation (pre-NEP 44) to serve as a start page for the latex version of the user documentation. Marked as an orphan, so should not interfere with building html docs
* | | DOC: Reconstruct Testing Guideline. (#16323)Chunlin2020-05-231-50/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reconstruct testing doc * Update doc/TESTS.rst.txt * DOC: add docstring for numpy.test Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> Co-authored-by: Matti Picus <matti.picus@gmail.com>
* | | BUILD: Remove Accelerate support (#15759)Matti Picus2020-05-222-4/+6
| | | | | | | | | | | | | | | | | | | | | Remove support for Apple Accelerate, since it is buggy. A build error should occur on most or all setups if linked against Accelerate. Test or import failures should occur on setups where Accelerate is picked up dynamically. Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
* | | DOC: Fix spelling typo - homogenous to homogeneous. (#16324)Kevin Moore2020-05-214-5/+5
| | |
* | | DOC: Correct documentation of ``__array__`` when used as output array. (#16130)Tina Oberoi2020-05-211-3/+2
| | |
* | | MAINT: Bumpy numpydoc version.Ross Barnowski2020-05-201-0/+0
|/ / | | | | | | | | | | | | Fixes problem with citation (reference) anchors in rendered docs. Actual fix was in numpy/numpydoc@7c42883, but this bumps to latest (unreleased) numpydoc version.
* | Merge pull request #15997 from panpiort8/array_pretty_printMatti Picus2020-05-201-0/+12
|\ \ | | | | | | ENH: improve printing of arrays with multi-line reprs
| * | Update doc/release/upcoming_changes/15997.improvement.rstpanpiort82020-05-201-4/+12
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | Improve the snippetPan Jan2020-05-201-3/+4
| | |
| * | Move the snippet notePan Jan2020-05-193-12/+4
| | |
| * | Add release note snippetPan Jan2020-05-072-1/+12
| | |
* | | Merge pull request #16156 from WarrenWeckesser/deprecate-dualSebastian Berg2020-05-192-1/+6
|\ \ \ | | | | | | | | DEP: Deprecate `numpy.dual`.
| * | | REL: Add a release note about the deprecation of numpy.dual.Warren Weckesser2020-05-051-0/+5
| | | |
| * | | DOC: dual: Note the deprecation of numpy.dual in the dual module docstring.Warren Weckesser2020-05-051-1/+1
| | | | | | | | | | | | | | | | Also make the correction "Scipy" -> "SciPy" in a few places.
* | | | DOC: Add PyArray_ContiguousFromObject C docs (gh-16207)Guilherme Leobas2020-05-181-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | Add documentation for `PyArray_ContiguousFromObject` similar to the other macros wrapping `PyArray_FromAny` Fixes #16196
* | | | Merge pull request #16257 from WarrenWeckesser/doc-glue-f2pySebastian Berg2020-05-181-22/+29
|\ \ \ \ | | | | | | | | | | DOC: Update the f2py section of the "Using Python as Glue" page.
| * | | | DOC: A few small changes in the "Using Python as Glue" page.Warren Weckesser2020-05-181-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * Fix whitespace in the inputs to Python in the f2py examples. * Capitalize Python and Fortran consistently.
| * | | | DOC: Update the f2py section of the "Using Python as Glue" page.Warren Weckesser2020-05-161-15/+22
| | | | | | | | | | | | | | | | | | | | * Update the output shown for the docstrings generated by f2py.
* | | | | REL: Update master after 1.19.x branch.Charles Harris2020-05-1743-315/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Delete release note fragments from 1.19.0 (towncrier) - Update 1.19.x release note (towncrier) - Create 1.20.0-notes.rst for master development - Update C-API versions for 1.20.x - Update setup.py for 1.20.0
* | | | | Merge pull request #16269 from tbm/typoMatti Picus2020-05-1711-13/+13
|\ \ \ \ \ | |/ / / / |/| | | | DOC: Fix typos and cosmetic issues
| * | | | DOC: Fix typos and cosmetic issuesMartin Michlmayr2020-05-1711-13/+13
| | | | |
* | | | | DOC: Updated the f2py section of the "Using Python as Glue" page. (#16258)Siba Smarak Panigrahi2020-05-161-4/+4
| | | | | | | | | | | | | | | | | | | | * Replace print statements with print function calls. * Fix the filename in one of the commands: it is "add.f", not "add.f95".
* | | | | BUG: numpy.einsum indexing arrays now accept numpy int type (gh-16080)Ryan2020-05-161-0/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Using PyArray_PyIntAsIntp helper function instead * TST: add tests for einsum numpy int and bool list subscripts Added tests to check that einsum accepts numpy int64 types and rejects bool. Rejecting bools is new behaviour in subscript lists. I changed ValueError to TypeError on line 2496 in multiarraymodule.c as it is more appropriate. I also modified einsumfunc.py to have the same behaviour as in the C file when checking subscript list. (Reject bools but accept anything else from operator.index()) Closes gh-15961
* | | | Merge pull request #16197 from timhoffm/doc-stackSebastian Berg2020-05-152-8/+8
|\ \ \ \ | | | | | | | | | | DOC: Unify cross-references between array joining methods
| * | | | DOC: Unify cross-references between array joining methodsTim Hoffmann2020-05-102-8/+8
| | | | |
* | | | | Merge pull request #16228 from anirudh2290/compilers_supported_docSebastian Berg2020-05-131-5/+5
|\ \ \ \ \ | | | | | | | | | | | | DOC: Add Clang and MSVC to supported compilers list