Skip to content

merged in #23

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

Merged
merged 1,423 commits into from
Apr 2, 2019
Merged

merged in #23

merged 1,423 commits into from
Apr 2, 2019

Conversation

story645
Copy link
Owner

@story645 story645 commented Apr 2, 2019

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • 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

timhoffm and others added 30 commits March 1, 2019 08:08
Simplify some annotation() calls in examples.
TextWithDash appears to be an ancestral version of Annotation that was
added over two commits in 2005 (6a4d343, fe80816), revised once in 2006
and another time in 2008, and never touched since then.

While it "works", its implementation is 400 lines long, it is only
mentioned by a single example (dashpointlabel.py), somewhat complicates
Axes.text(), and is likely rarely used and replaceable by Annotation for
most use cases.

Hence, deprecate it, keeping open the option to undeprecate if this
turns out to be too disruptive.
 Modified docstring of the set_ylabel and set_xlabel
Separate alpha and rbg interpolation then recombine to fix issue11316
This caught two "incorrect" tests:

- in test_style.py::test_invalid_rc_warning_includes_filename, the
  `for w in warns: ...` assertion did nothing as no warning was
  emitted so `warns` was empty (instead, the message is just print()ed
  to stderr.
- in test_image.py::test_empty_imshow, the caught warning message was
  missing spaces around the equals.
Cleanup warnings handling in tests.
Strip out Py2-compat in setupext.
Cleanup docs for GraphicsContextBase.{get,set}_dashes.
… label (#13551)

* FIX: legend crashes when bar chart is empty with label

* add test with generating legend with empty bar chart

* remove image_comparison from legend test case
* added function to check if a point lies on a segment

* check if collinear segments have common points in segments_intersect

* test cases added for Path.intersects_path

* PEP8 check

* added a test case for a range of slopes of intersecting paths

* changed the way segments are compared provided their slopes and intercepts match

* typo fix

* simplified logic of segments_intersect when handling the infinite slope case

* implemented isclose for path intersect check; added more test cases

* removed debug include

* flake8 fixes

* typo fix

Co-Authored-By: TarasKuzyo <kuzyo.taras@gmail.com>

* reduced the number of checks to 30 angles and 4 eps values
in Poly3DCollection's set_alpha method, facecolor was getting updated when facecolors3d should have been updated instead.
added property  usemathtext to EngFormatter
Deprecate redundant log-scale transform classes.
``frameon = False`` has *never* worked since its introduction in 2013
due to the buggy implementation that only took it into account if True:

    if frameon:
        original_frameon = self.get_frameon()
        self.set_frameon(frameon)

(despite the doc stating otherwise).  One can also set the facecolor
kwarg or savefig.facecolor rcParam to fully transparent for the same
effect.
… plots are closely related and thus go into one figure.
tacaswell and others added 28 commits March 31, 2019 14:41
This change causes the range of all data sets to be computed and
passed to numpy (which in turn uses the total range to compute the
'best' bins).

The existing code 'latches' the bins from the first data set to use
for the rest so this is can still lead to poor binning (if the data
sets are widely different).

closes #8636
Generate Figure method wrappers via boilerplate.py
Remove \mathcircled from mathtext docs following its deprecation.
numpydoc ListedColormap parameters
as suggested by @eric-wieser

We are no longer tracking if the bins kwarg was passed, but if
it was passed in is an array we should use as the bin edges.

Simplify some internal logic.
FIX: if bins input to hist is str, treat like no bins
Add new example for plotting a confidence_ellipse
Numpydocify FontManager.findfont()
Consider the following example.

    import matplotlib.pyplot as plt
    plt.rcParams['text.usetex'] = True
    plt.rcParams['text.latex.preamble'] = r'\usepackage{siunitx}'
    plt.rcParams['text.hinting_factor'] = 1
    plt.text(.5, .5, r'$\si{\degree}$')
    plt.text(.5, .4, r'ff\textwon')
    plt.gca().set_axis_off()
    plt.savefig('/tmp/plot.svg')
    plt.savefig('/tmp/plot.pdf')
    plt.savefig('/tmp/plot.png')
    plt.show()

In the svg output, one sees that the \degree and \textwon characters
(which come from a different font that the ff ligature) are now
correctly loaded, *but* at a too small size -- this still needs to be
fixed.
(pdf and png output are unaffected.)
MNT: Better MovieWriter init error message
Some more usage of _check_in_list.
MNT: account for cpython deprecations
@story645 story645 merged commit 39b05c0 into story645:master Apr 2, 2019
story645 pushed a commit that referenced this pull request Sep 25, 2020
Fix ssl fetching on older systems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.