Skip to content

Convert docstring of Axes.pie() into numpydoc #8357

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 22 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ea9250d
numpydocstring added
kahnchana Mar 21, 2017
d4d912b
.
kahnchana Mar 21, 2017
ce79bfe
Merge remote-tracking branch 'refs/remotes/matplotlib/master' into do…
kahnchana Mar 22, 2017
492b0ac
Revert "numpydocstring added"
kahnchana Mar 22, 2017
50aa3ff
Docstring to Numpydoc
kahnchana Mar 22, 2017
17570af
Merge remote-tracking branch 'refs/remotes/matplotlib/master'
kahnchana Mar 22, 2017
9b6c50b
Merge remote-tracking branch 'refs/remotes/origin/master' into docstring
kahnchana Mar 22, 2017
8df19bd
FIX small nitpicks
kahnchana Mar 22, 2017
f570978
removed duplicate matplotlib.transforms import
sindunuragarp Mar 16, 2017
027cbae
Standardized matplotlib transforms import
sindunuragarp Mar 19, 2017
34f688b
Reconfigured line to comply with pep8 length
sindunuragarp Mar 20, 2017
03bacb8
Removed additional pep8 e501 error caused by mtransforms
sindunuragarp Mar 21, 2017
465a453
STY: pep8 cleanup
tacaswell Mar 10, 2017
6e451f1
MNT: explicitly pass in file handle to print_figure_impl
tacaswell Mar 10, 2017
710b509
FIX: always remove the temporary file in eps print_figure
tacaswell Mar 10, 2017
9f53b14
STY: pep8 clean up
tacaswell Mar 10, 2017
b9ff429
FIX: always remove the temporary file in eps print_figure_tex
tacaswell Mar 10, 2017
c3d012a
Revert "numpydocstring added"
kahnchana Mar 22, 2017
d12a3cd
Docstring to Numpydoc
kahnchana Mar 22, 2017
0b4909a
FIX small nitpicks
kahnchana Mar 22, 2017
8e54067
Merge branch 'docstring' of https://github.com/kahnchana/matplotlib i…
kahnchana Mar 22, 2017
a0c7bd8
Made style changes and edits suggested
kahnchana Mar 22, 2017
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
Prev Previous commit
Next Next commit
removed duplicate matplotlib.transforms import
  • Loading branch information
sindunuragarp authored and kahnchana committed Mar 22, 2017
commit f57097820685041fce215a19150c5833a4826e57
5 changes: 2 additions & 3 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import matplotlib.ticker as mticker
import matplotlib.transforms as mtransforms
import matplotlib.tri as mtri
import matplotlib.transforms as mtrans
from matplotlib.container import BarContainer, ErrorbarContainer, StemContainer
from matplotlib.axes._base import _AxesBase
from matplotlib.axes._base import _process_plot_format
Expand Down Expand Up @@ -4255,8 +4254,8 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
ymin, ymax = (np.min(y), np.max(y)) if len(y) else (0, 1)

# to avoid issues with singular data, expand the min/max pairs
xmin, xmax = mtrans.nonsingular(xmin, xmax, expander=0.1)
ymin, ymax = mtrans.nonsingular(ymin, ymax, expander=0.1)
xmin, xmax = mtransforms.nonsingular(xmin, xmax, expander=0.1)
ymin, ymax = mtransforms.nonsingular(ymin, ymax, expander=0.1)

# In the x-direction, the hexagons exactly cover the region from
# xmin to xmax. Need some padding to avoid roundoff errors.
Expand Down