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

Skip to content

Commit d0dcbad

Browse files
committed
python ternary title edits
1 parent 4cee59d commit d0dcbad

File tree

2 files changed

+20
-38
lines changed

2 files changed

+20
-38
lines changed

_posts/python/ternary/2015-06-30-ternary.html

Lines changed: 5 additions & 25 deletions
Large diffs are not rendered by default.

_posts/python/ternary/ternary.ipynb

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
22
"cells": [
3-
{
4-
"cell_type": "markdown",
5-
"metadata": {},
6-
"source": [
7-
"# Ternary Plots in Python"
8-
]
9-
},
103
{
114
"cell_type": "markdown",
125
"metadata": {},
@@ -42,7 +35,7 @@
4235
"cell_type": "markdown",
4336
"metadata": {},
4437
"source": [
45-
"#### Basic Tenary Plot with Markers"
38+
"### Basic Ternary Plot with Markers"
4639
]
4740
},
4841
{
@@ -110,7 +103,7 @@
110103
{
111104
"data": {
112105
"text/html": [
113-
"<div id=\"6caeeb46-facd-439c-8072-099df45fb991\" style=\"height: 525; width: 100%;\" class=\"plotly-graph-div\"></div><script type=\"text/javascript\">require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {};window.PLOTLYENV.BASE_URL=\"https://plot.ly\";Plotly.newPlot(\"6caeeb46-facd-439c-8072-099df45fb991\", [{\"a\": [75, 70, 75, 5, 10, 10, 20, 10, 15, 10, 20], \"c\": [0, 20, 5, 35, 10, 0, 10, 70, 80, 80, 70], \"b\": [25, 10, 20, 60, 80, 90, 70, 20, 5, 10, 10], \"text\": [\"point 1\", \"point 2\", \"point 3\", \"point 4\", \"point 5\", \"point 6\", \"point 7\", \"point 8\", \"point 9\", \"point 10\", \"point 11\"], \"mode\": \"markers\", \"marker\": {\"color\": \"#DB7365\", \"symbol\": 100, \"line\": {\"width\": 2}, \"size\": 14}, \"type\": \"scatterternary\"}], {\"annotations\": [{\"y\": 1.3, \"text\": \"Simple Ternary Plot with Markers\", \"font\": {\"size\": 15}, \"showarrow\": false, \"x\": 0.5}], \"ternary\": {\"sum\": 100, \"baxis\": {\"tickfont\": {\"size\": 15}, \"title\": \"<br>Developer\", \"tickangle\": 45, \"ticklen\": 5, \"showgrid\": true, \"titlefont\": {\"size\": 20}, \"showline\": true, \"tickcolor\": \"rgba(0,0,0,0)\"}, \"caxis\": {\"tickfont\": {\"size\": 15}, \"title\": \"<br>Designer\", \"tickangle\": -45, \"ticklen\": 5, \"showgrid\": true, \"titlefont\": {\"size\": 20}, \"showline\": true, \"tickcolor\": \"rgba(0,0,0,0)\"}, \"aaxis\": {\"tickfont\": {\"size\": 15}, \"title\": \"Journalist\", \"tickangle\": 0, \"ticklen\": 5, \"showgrid\": true, \"titlefont\": {\"size\": 20}, \"showline\": true, \"tickcolor\": \"rgba(0,0,0,0)\"}}}, {\"linkText\": \"Export to plot.ly\", \"showLink\": true})});</script>"
106+
"<div id=\"50b61b0d-aeee-4211-80fa-3b75a5537ecf\" style=\"height: 525; width: 100%;\" class=\"plotly-graph-div\"></div><script type=\"text/javascript\">require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {};window.PLOTLYENV.BASE_URL=\"https://plot.ly\";Plotly.newPlot(\"50b61b0d-aeee-4211-80fa-3b75a5537ecf\", [{\"a\": [75, 70, 75, 5, 10, 10, 20, 10, 15, 10, 20], \"c\": [0, 20, 5, 35, 10, 0, 10, 70, 80, 80, 70], \"b\": [25, 10, 20, 60, 80, 90, 70, 20, 5, 10, 10], \"text\": [\"point 1\", \"point 2\", \"point 3\", \"point 4\", \"point 5\", \"point 6\", \"point 7\", \"point 8\", \"point 9\", \"point 10\", \"point 11\"], \"mode\": \"markers\", \"marker\": {\"color\": \"#DB7365\", \"symbol\": 100, \"line\": {\"width\": 2}, \"size\": 14}, \"type\": \"scatterternary\"}], {\"annotations\": [{\"y\": 1.3, \"text\": \"Simple Ternary Plot with Markers\", \"font\": {\"size\": 15}, \"showarrow\": false, \"x\": 0.5}], \"ternary\": {\"sum\": 100, \"baxis\": {\"tickfont\": {\"size\": 15}, \"title\": \"<br>Developer\", \"tickangle\": 45, \"ticklen\": 5, \"showgrid\": true, \"titlefont\": {\"size\": 20}, \"showline\": true, \"tickcolor\": \"rgba(0,0,0,0)\"}, \"caxis\": {\"tickfont\": {\"size\": 15}, \"title\": \"<br>Designer\", \"tickangle\": -45, \"ticklen\": 5, \"showgrid\": true, \"titlefont\": {\"size\": 20}, \"showline\": true, \"tickcolor\": \"rgba(0,0,0,0)\"}, \"aaxis\": {\"tickfont\": {\"size\": 15}, \"title\": \"Journalist\", \"tickangle\": 0, \"ticklen\": 5, \"showgrid\": true, \"titlefont\": {\"size\": 20}, \"showline\": true, \"tickcolor\": \"rgba(0,0,0,0)\"}}}, {\"linkText\": \"Export to plot.ly\", \"showLink\": true})});</script>"
114107
],
115108
"text/plain": [
116109
"<IPython.core.display.HTML object>"
@@ -221,9 +214,9 @@
221214
"name": "stdout",
222215
"output_type": "stream",
223216
"text": [
224-
"Requirement already up-to-date: publisher in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages\n",
225-
"\u001b[33mYou are using pip version 8.0.3, however version 8.1.1 is available.\n",
226-
"You should consider upgrading via the 'pip install --upgrade pip' command.\u001b[0m\n"
217+
"Requirement already up-to-date: publisher in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages\r\n",
218+
"\u001b[33mYou are using pip version 8.0.3, however version 8.1.1 is available.\r\n",
219+
"You should consider upgrading via the 'pip install --upgrade pip' command.\u001b[0m\r\n"
227220
]
228221
},
229222
{
@@ -252,10 +245,19 @@
252245
"publisher.publish(\n",
253246
" 'ternary.ipynb', 'python/ternary-plots/', 'Python Ternary Plots | plotly',\n",
254247
" 'How to make Ternary plots in Python with Plotly.',\n",
255-
" name = 'Ternary',\n",
248+
" name = 'Ternary Plots',\n",
256249
" thumbnail='thumbnail/ternary.jpg', language='python',\n",
257250
" page_type='example_index', has_thumbnail='true', display_as='scientific', order=32) "
258251
]
252+
},
253+
{
254+
"cell_type": "code",
255+
"execution_count": null,
256+
"metadata": {
257+
"collapsed": true
258+
},
259+
"outputs": [],
260+
"source": []
259261
}
260262
],
261263
"metadata": {

0 commit comments

Comments
 (0)