Skip to content

CLN: simplify series plotting #6876

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 commit into from
Apr 27, 2014
Merged

CLN: simplify series plotting #6876

merged 1 commit into from
Apr 27, 2014

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Apr 13, 2014

Modified these 2 points:

  • Simplify LinePlot._make_ts_plot to have single flow.
  • Simplify plot_frame and plot_series 's kind detection. (Also, setting hexbin default is not necessary because it is done in HexBinPlot.__init__)

@@ -1963,16 +1960,6 @@ def plot_frame(frame=None, x=None, y=None, subplots=False, sharex=True,
figsize=figsize, logx=logx, logy=logy,
sort_columns=sort_columns, secondary_y=secondary_y,
**kwds)
elif kind == 'hexbin':
C = kwds.pop('C', None) # remove from kwargs so we can set default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does anything need to be done to maintain this part?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm saw your note

@jtratner
Copy link
Contributor

looks fine and +1 for simplifying the code a little, going to leave it open for a bit for comments (if any) then merge

@jreback jreback added this to the 0.14.0 milestone Apr 27, 2014
jreback added a commit that referenced this pull request Apr 27, 2014
CLN: simplify series plotting
@jreback jreback merged commit faee760 into pandas-dev:master Apr 27, 2014
@jreback
Copy link
Contributor

jreback commented Apr 27, 2014

thanks!

@sinhrks sinhrks deleted the cln_plot branch April 28, 2014 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants