forked from plotly/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request plotly#1402 from plotly/py_v4
Py v4
- Loading branch information
Showing
609 changed files
with
4,268 additions
and
4,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ task :deploy => [:check_git] do | |
puts "...git pull origin \"#{source_branch}\"" | ||
system "git pull origin \"#{source_branch}\"" | ||
puts "...getting latest python docs" | ||
system "rm -rf _posts/python-next/html" | ||
system "git clone -b built [email protected]:plotly/plotly.py-docs _posts/python-next/html" | ||
system "rm -rf _posts/python/html" | ||
system "git clone -b built [email protected]:plotly/plotly.py-docs _posts/python/html" | ||
puts "...update plot schema" | ||
system "python ./get_plotschema.py && git add _data/plotschema.json && git commit -m \"Updated plotschema at #{Time.now.utc}\" && git push origin \"#{source_branch}\"" | ||
puts "...generate _site" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
{% include search-suggestions.html %} | ||
</li> | ||
</ul> | ||
{% if page.language == "python" or page.language == "numpy" or page.language == "scikit-learn"%} | ||
{% if page.language == "python/v3" or page.language == "numpy" or page.language == "scikit-learn"%} | ||
<button class="--btn back"> | ||
<div> | ||
<img class="--icon-notebook" src="https://plot.ly/gh-pages/documentation/static/images/[email protected]" alt="notebook"> | ||
|
@@ -62,7 +62,7 @@ | |
{% if page.language == "excel" %} | ||
<img src="http://plot.ineffable.co/images/excel-logo.png" alt=""> | ||
{% endif %} | ||
{% if page.language == "python" or page.language == "python/next" %} | ||
{% if page.language == "python" or page.language == "python/v3" %} | ||
<img src="https://images.plot.ly/language-icons/api-home/python-logo.png" alt=""> | ||
{% endif %} | ||
{% if page.language == "pandas" %} | ||
|
@@ -109,6 +109,20 @@ <h1> | |
|
||
<!-- Start Plotly Basics Section --> | ||
<section class="tutorial-content"> | ||
|
||
|
||
{% if page.language == "python/v3" or page.language == "numpy" or page.language == "pandas" or page.language == "scikit-learn" or page.permalink contains 'ipython-notebooks' %} | ||
{% if page.permalink != 'ipython-notebooks/cufflinks/' %} | ||
|
||
<div style="margin: 20px auto; width: 75%; background: #f4f4f8; padding: 20px; font-weight: 400; | ||
line-height: 1.85; text-align: center; border: 5px dashed #ab63fa;"> | ||
<strong>Note:</strong> this page is part of the documentation for version 3 of Plotly.py, which is <em>not the most recent version</em>.<br/> | ||
See our <a href="https://plot.ly/python/v4-migration/" style="color: #2391fe">Version 4 Migration Guide</a> for information about how to upgrade. | ||
</div> | ||
|
||
{% endif %} | ||
{% endif %} | ||
|
||
{{ content }} | ||
</section> | ||
<!--End Plotly Basics Section--> | ||
|
@@ -117,6 +131,7 @@ <h1> | |
|
||
</main> | ||
|
||
|
||
{% include helpbox.html %} | ||
|
||
{% include _new/_page-components/insertSidebarElement.html %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.