Skip to content

Commit

Permalink
Rename plot.print to plot.start_print to avoid confusion with print a…
Browse files Browse the repository at this point in the history
…nd to avoid Python 2.7 error
  • Loading branch information
jobovy committed Aug 23, 2020
1 parent 60fabb7 commit 2933052
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 0 additions & 6 deletions doc/source/reference/plotprint.rst

This file was deleted.

6 changes: 6 additions & 0 deletions doc/source/reference/plotstartprint.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
galpy.util.plot.start_print
===========================

.. autofunction:: galpy.util.plot.start_print


14 changes: 7 additions & 7 deletions galpy/util/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# dens2d
# hist
# plot
# print
# start_print
# scatterplot (like hogg_scatterplot)
# text
#
Expand Down Expand Up @@ -690,15 +690,15 @@ def dens2d(X,**kwargs):
else:
return out

def print(fig_width=5,fig_height=5,axes_labelsize=16,
text_fontsize=11,legend_fontsize=12,
xtick_labelsize=10,ytick_labelsize=10,
xtick_minor_size=2,ytick_minor_size=2,
xtick_major_size=4,ytick_major_size=4):
def start_print(fig_width=5,fig_height=5,axes_labelsize=16,
text_fontsize=11,legend_fontsize=12,
xtick_labelsize=10,ytick_labelsize=10,
xtick_minor_size=2,ytick_minor_size=2,
xtick_major_size=4,ytick_major_size=4):
"""
NAME:
print
start_print
PURPOSE:
Expand Down

0 comments on commit 2933052

Please sign in to comment.