Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88a1b6d

Browse files
committed
Merge branch 'source-design-merge' into hov2
# Conflicts: # _posts/python/layout/hover-text/2015-06-30-hover-text-and-formatting.html # _posts/python/layout/hover-text/hover-text-and-formatting.ipynb
2 parents 4b8233a + 7c40cfe commit 88a1b6d

File tree

88 files changed

+4037
-1393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+4037
-1393
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://plot.ly/products/consulting-and-oem/

_data/cache_bust_css.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
77c14d82285744015875e752ccfc8d6e ../all_static/css/main.css
1+
237a635fa4eec3f9922f5a2e1e8db22c ../all_static/css/main.css
22
a5765df8bc2358dd61c19edcc0cbef7d ../all_static/css/normalize.css

_includes/_new/_page-components/_header-main.html

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,15 @@
11
<header data-spy="affix" data-offset-top="80" class="header-main --default">
22
<div class="--wrap">
3-
<div class="--wrap-left"><a href="https://plot.ly/feed/" target="_blank" class="-identity">
3+
<div class="--wrap-left"><a href="https://plot.ly/" target="_blank" class="-identity">
44
<div class="-identity">
5-
<div class="logo">
6-
<svg width="50px" height="50px" viewBox="0 0 66 66" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
7-
<g id="Asset-Exporting" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8-
<g id="Artboard-3" transform="translate(-50.000000, -123.000000)">
9-
<g id="Group" transform="translate(50.000000, 123.000000)">
10-
<path d="M3,66 L63,66 C64.6565,66 66,64.6565 66,63 L66,3 C66,1.3435 64.6565,0 63,0 L3,0 C1.3435,0 0,1.3435 0,3 L0,63 C0,64.6565 1.3435,66 3,66" id="background" fill="#119DFF"></path>
11-
<g id="chart" transform="translate(12.000000, 12.000000)">
12-
<path d="M30,15 C30,16.6565 28.6565,18 27,18 C25.3435,18 24,16.6565 24,15 C24,13.3435 25.3435,12 27,12 C28.6565,12 30,13.3435 30,15" id="Fill-17" fill="#09FFFF"></path>
13-
<path d="M42,3 C42,4.6565 40.6565,6 39,6 C37.3435,6 36,4.6565 36,3 C36,1.3435 37.3435,0 39,0 C40.6565,0 42,1.3435 42,3" id="Fill-19" fill="#09FFFF"></path>
14-
<path d="M30,3 C30,4.6565 28.6565,6 27,6 C25.3435,6 24,4.6565 24,3 C24,1.3435 25.3435,0 27,0 C28.6565,0 30,1.3435 30,3" id="Fill-21" fill="#09FFFF"></path>
15-
<path d="M18,3 C18,4.6565 16.6565,6 15,6 C13.3435,6 12,4.6565 12,3 C12,1.3435 13.3435,0 15,0 C16.6565,0 18,1.3435 18,3" id="Fill-23" fill="#09FFFF"></path>
16-
<path d="M6,3 C6,4.6565 4.6565,6 3,6 C1.3435,6 5.55111512e-17,4.6565 5.55111512e-17,3 C5.55111512e-17,1.3435 1.3435,0 3,0 C4.6565,0 6,1.3435 6,3" id="Fill-25" fill="#09FFFF"></path>
17-
<path d="M6,15 C6,16.6565 4.6565,18 3,18 C1.3435,18 5.55111512e-17,16.6565 5.55111512e-17,15 C5.55111512e-17,13.3435 1.3435,12 3,12 C4.6565,12 6,13.3435 6,15" id="Fill-27" fill="#09FFFF"></path>
18-
<path d="M3,24 C1.343,24 5.55111512e-17,25.3435 5.55111512e-17,27 L5.55111512e-17,39 C5.55111512e-17,40.6565 1.343,42 3,42 C4.6565,42 6,40.6565 6,39 L6,27 C6,25.3435 4.6565,24 3,24" id="Fill-29" fill="#FFFFFF"></path>
19-
<path d="M27,24 C25.343,24 24,25.3435 24,27 L24,39 C24,40.6565 25.343,42 27,42 C28.6565,42 30,40.6565 30,39 L30,27 C30,25.3435 28.6565,24 27,24" id="Fill-31" fill="#FFFFFF"></path>
20-
<path d="M15,12 C13.343,12 12,13.3435 12,15 L12,39 C12,40.6565 13.343,42 15,42 C16.6565,42 18,40.6565 18,39 L18,15 C18,13.3435 16.6565,12 15,12" id="Fill-33" fill="#FFFFFF"></path>
21-
<path d="M39,12 C37.343,12 36,13.3435 36,15 L36,39 C36,40.6565 37.343,42 39,42 C40.6565,42 42,40.6565 42,39 L42,15 C42,13.3435 40.6565,12 39,12" id="Fill-35" fill="#FFFFFF"></path>
22-
</g>
23-
</g>
24-
</g>
25-
</g>
26-
</svg>
27-
</div>
28-
<h1 class="--name">plotly</h1>
5+
<img src="{{site.staticurl}}/images/plotly_graphing_libraries.png" style="height: 66px;"/>
296
</div></a>
30-
<nav class="--nav-site">
31-
<ul>
32-
<li><a href="https://dash.plot.ly/" target="_blank"><span class="--item">Dash</span></a></li>
33-
<li><a href="https://plot.ly/products/consulting-and-oem/" target="_blank"><span class="--item">Consulting</span></a></li>
34-
</ul>
35-
</nav>
7+
368
</div>
379
<div class="--wrap-right">
3810
<nav class="--nav-meta" role="navigation">
3911
<ul>
40-
<li><a id="toolsignin" href="/settings" target="_self" class="button --enterprise-quaternary">SIGN IN</a></li>
41-
<li><a id="signup" href="/settings" target="_self" class="button --enterprise-quaternary">SIGN UP</a></li>
42-
<li><a href="https://plotly.typeform.com/to/seG7Vb" data-mode="1" target="_blank" onclick="window.mixpanel.track('Typeform demo request');" class="typeform-share button --enterprise-quaternary">REQUEST DEMO</a></li>
12+
<li><a href="https://go.plot.ly/demo-dash" data-mode="1" target="_blank" class="typeform-share button --enterprise-quaternary">DEMO DASH</a></li>
4313
<!-- Adding product dropdown here -->
4414
<!-- <li><a href="https://plot.ly/create/" class="button">PRODUCTS</a></li> -->
4515
</ul>
@@ -64,7 +34,7 @@ <h1 class="--name">plotly</h1>
6434
In</a></li>
6535
<li class="tablet"><a id="signup" href="/settings" target="_self" class="button --enterprise-quaternary">SIGN UP</a></li>
6636
<li class="tablet"><a href="https://plot.ly/products/cloud/" class="button">UPGRADE</a></li>
67-
<li class="tablet"><a href="https://plotly.typeform.com/to/seG7Vb" data-mode="1" target="_blank" onclick="window.mixpanel.track('Typeform demo request');" class="typeform-share button --enterprise-quaternary">
37+
<li class="tablet"><a href="https://plotly.typeform.com/to/seG7Vb" data-mode="1" target="_blank" class="typeform-share button --enterprise-quaternary">
6838
REQUEST
6939
DEMO</a></li>
7040
</ul>

_includes/ad-text.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h6 style="text-align: center;">
2323
<div style="text-align: center;position: relative;">
2424
<h1 class="centered" style="margin-bottom: 20px;">plotly.js</h1>
2525
<h5>JavaScript library for scientific interactive charts</h5>
26-
<a class="button plotlyjs-download" href="{{site.plotlyjs_download_url}}" onclick='mixpanel.track("PlotlyJS Download",{ "Location": "Banner" });' download>
26+
<a class="button plotlyjs-download" href="{{site.plotlyjs_download_url}}" download>
2727
<i class="fa fa-download fa-lg"></i> Download
2828
</a>
2929
</div>

_includes/breadcrumb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section class="--breadcrumb-container" {% if page.permalink != "/api/" %} data-spy="affix" data-offset-top="435"{% endif %}>
1+
<section class="--breadcrumb-container" {% if page.permalink != "/api/" %} data-spy="affix" {% endif %}>
22
<div class="--wrap">
33
<!--
44
Show this if page is too thin (hides breadcrumb list)

_includes/dashboard-industries-nav.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1 class="dash-title">{{page.industry | capitalize}} Dashboard</h1>
3131
{% include dashboards-copy/sales-copy.html %}
3232
</div>
3333
<div class="col-sm-6" style="text-align:center;">
34-
<a href="https://plotly.typeform.com/to/seG7Vb" style="color:{{page.background_color}};border-color:{{page.background_color}} !important;" class="btn-try-it-out typeform-share" data-mode="1" target="_blank" onclick="window.mixpanel.track('Typeform demo request');">Request a demo</a>
34+
<a href="https://plotly.typeform.com/to/seG7Vb" style="color:{{page.background_color}};border-color:{{page.background_color}} !important;" class="btn-try-it-out typeform-share" data-mode="1" target="_blank">Request a demo</a>
3535
<br>
3636
<div id="wrap">
3737
<div class="phone" id="iphone">
@@ -57,4 +57,3 @@ <h1 style="font-size:22px;">{{page.industry}} dashboards made easy</h1>
5757
</p>
5858
</div>
5959
</div>
60-

_includes/documentation_eg.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,11 @@ <h4 class="example-section-title" id="layout-options">
627627
</div>
628628
{% endif %}
629629

630-
{% if page.dash_url %}
631-
<h1>Dash Example</h1>
632-
<iframe width="100%" height="900px" src="{{ page.dash_url}}" frameborder="0" allowfullscreen=""></iframe>
630+
{% if page.simple_dash_appname %}
631+
<h1><a href="#dash-example">Dash Example</a></h1>
632+
<iframe width="100%" height="900px" src="https://dash-simple-apps.plotly.host/{{ page.simple_dash_appname}}/" frameborder="0" allowfullscreen=""></iframe>
633+
<iframe width="100%" height="500px" src="https://dash-simple-apps.plotly.host/{{ page.simple_dash_appname}}/code" frameborder="0" allowfullscreen=""></iframe>
634+
<p>Find the dash app source code <a href="https://github.com/plotly/simple-example-chart-apps/tree/master/{{ page.simple_dash_appname}}">here</a>.</p>
633635
{% endif %}
634636

635637
{% if page.language == "python" or page.language == "r" or page.language == "plotly_js" %}

_includes/header-white.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</a>
3333
{% endif %}
3434

35-
<a href="https://plotly.typeform.com/to/seG7Vb" class="typeform-share button --enterprise-quaternary" data-mode="1" target="_blank" onclick="window.mixpanel.track('Typeform demo request');">REQUEST DEMO</a>
35+
<a href="https://plotly.typeform.com/to/seG7Vb" class="typeform-share button --enterprise-quaternary" data-mode="1" target="_blank">REQUEST DEMO</a>
3636
<script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'share.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}})()
3737
</script>
3838

_includes/lang-splash-banner.html

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
1-
<div class="header-large--wrap">
2-
<div class="header--blue-bg">
3-
4-
5-
<div class="--image"></div>
6-
<div class="header--meta-content">
7-
{% if page.language == "plotly_js" %}
8-
<h2 class="special-header">
9-
plotly.js
10-
</h2>
11-
{% endif %}
12-
13-
{% if page.language == "nodejs" or page.language == "julia" or page.language == "dashboards" %}
14-
<p>
15-
Plotly is free for unlimited public use.
16-
<a class="button" href="https://plot.ly/products/cloud/" target="_blank">Sign up for free!</a>
17-
</p>
18-
19-
<p>
20-
Sensitive data? Upgrade to a <a href="https://plot.ly/products/cloud/">paid plan</a>
21-
</p>
22-
23-
{% elsif page.language == "plotly_js" %}
24-
<p>The open source JavaScript graphing library that powers Plotly</p>
25-
{% elsif page.title == "Plot Twist" %}
26-
<p>Plot Twist</p>
27-
{% endif %}
28-
</div>
29-
</div>
30-
</div>
1+
<div style="margin-top: 100px"></div>

_includes/reference-side-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<aside class="--sidebar-container ref">
2-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="435" data-offset-bottom="610">
2+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-bottom="610">
33
<header class="--sidebar-header">Trace Types</header>
44
<nav class="--sidebar-body watch" id="where">
55

_includes/side-bar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145

146146

147147
<aside class="--sidebar-container">
148-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="435" data-offset-bottom="610" id="where">
148+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-bottom="610" id="where">
149149
<!-- {% if page.language == "python" %}
150150
<header class="--sidebar-header">Search</header>
151151
<input type="text" class="algolia__input js-algolia__input" autocomplete="off" name="query" placeholder="Search Plotly's Python Docs" />

_layouts/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="--wrap">
2323
<!-- aside - Main Sidebar-->
2424
<aside class="--sidebar-container">
25-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="435" data-offset-bottom="610" id="where">
25+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-bottom="610" id="where">
2626
<header class="--sidebar-header">Navigation</header>
2727
<nav class="--sidebar-body watch" id="where">
2828
<ul class="--sidebar-list">

_layouts/getstart-base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="--wrap">
2222
<!-- aside - Main Sidebar-->
2323
<aside class="--sidebar-container">
24-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="435" data-offset-bottom="610" id="where">
24+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-bottom="610" id="where">
2525
<header class="--sidebar-header">Navigation</header>
2626
<nav class="--sidebar-body watch" id="where">
2727
<ul class="--sidebar-list">

_layouts/getstart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="--wrap">
2222
<!-- aside - Main Sidebar-->
2323
<aside class="--sidebar-container">
24-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="435" data-offset-bottom="610" id="where">
24+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-bottom="610" id="where">
2525
<header class="--sidebar-header">Navigation</header>
2626
<nav class="--sidebar-body watch" id="where">
2727
<ul class="--sidebar-list">

_layouts/user-guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="--wrap">
2222
<!-- aside - Main Sidebar-->
2323
<aside class="--sidebar-container">
24-
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-top="435" data-offset-bottom="610" id="where">
24+
<div class="--sidebar-fixed reference" data-spy="affix" data-offset-bottom="610" id="where">
2525
<header class="--sidebar-header">Navigation</header>
2626
<nav class="--sidebar-body watch" id="where">
2727
<ul class="--sidebar-list">

_posts/plotly_js/2015-07-21-plotlyjs-getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2>Download</h2>
2727

2828
<p style="text-align: center;">
2929
<a class="button plotlyjs-download" href="{{site.plotlyjs_download_url}}"
30-
onclick="onclick=mixpanel.track('PlotlyJS Download',{ 'Location': 'Getting Started Step 1' });" style="display: inline-block;" download>
30+
style="display: inline-block;" download>
3131
<i class="fa fa-download fa-lg"></i> Download&nbsp;plotly.js</a>
3232
</p>
3333

_posts/python/3d/2017-02-24-python-3d-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
has_thumbnail: true
1010
thumbnail: thumbnail/mixed.jpg
1111
page_type: example_index
12-
dash_url: https://dash-simple-apps.plotly.host/dash-3dplot/frameBorder=0
12+
simple_dash_appname: dash-3dplot
1313
order: 20
1414
---
1515

0 commit comments

Comments
 (0)