-
-
Notifications
You must be signed in to change notification settings - Fork 544
Added Custom Binning tut for histogram doc #1059
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
Added Custom Binning tut for histogram doc #1059
Conversation
"metadata": {}, | ||
"source": [ | ||
"### Custom Binning\n", | ||
"For custom binning along x-axis, use the attribute [`nbinsx`](https://plot.ly/python/reference/#histogram-nbinsx). Please note that no matter how many bins being specified, the autobin algorithm will still give a 'nice' round bin sizes and edges. Alternatively, you can set the exact values for [`xbins`](https://plot.ly/python/reference/#histogram-xbins) along with `autobinx = False`." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "Please note that the autobin algorithm will choose a 'nice' round bin size that may result in somewhat fewer than nbinsx
total bins."
@@ -219,13 +219,13 @@ <h3 id="Horizontal-Histogram">Horizontal Histogram<a class="anchor-link" href="# | |||
</div> | |||
<div class="inner_cell"> | |||
<div class="text_cell_render border-box-sizing rendered_html"> | |||
<h3 id="Overlaid-Histgram">Overlaid Histgram<a class="anchor-link" href="#Overlaid-Histgram">¶</a></h3> | |||
<h3 id="Overlaid-Histgram">Overlaid Histgram<a class="anchor-link" href="#Overlaid-Histgram">¶</a></h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not new here, but... Histogram
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just those two minor comments then I'm happy.
|
||
|
||
|
||
<div class="output_html rendered_html output_subarea output_execute_result"> | ||
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~PythonPlotBot/192.embed" height="525px" width="100%"></iframe> | ||
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~priyatharsan/813.embed" height="525px" width="100%"></iframe> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be under the PythonPlotBot account? That way they don't get throttled etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized recently that the embed link is generated automatically based on the plot being created when running the notebook. Since I have my account credentials synced to my windows the plot gets saved in my plotly account and I noticed this in many new notebooks as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chriddyp would you like me to switch to PythonPlotBot and save the plot?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think that would be a good idea. Correct me if I'm wrong @cldougl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for using user: PythonPlotBot
. Probably not necessary for throttling, however it's helpful for general management of these plots/to better ensure that they are not accidentally made private/deleted
@priyatharsan you can set your .credentials file to PythonPlotBot
to save plots to that account.
@priyatharsan this is good to merge 💃 after running with |
Ref #1052