|
1 | 1 | {
|
2 | 2 | "cells": [
|
3 |
| - { |
4 |
| - "cell_type": "markdown", |
5 |
| - "metadata": {}, |
6 |
| - "source": [ |
7 |
| - "# Ternary Plots in Python" |
8 |
| - ] |
9 |
| - }, |
10 | 3 | {
|
11 | 4 | "cell_type": "markdown",
|
12 | 5 | "metadata": {},
|
|
42 | 35 | "cell_type": "markdown",
|
43 | 36 | "metadata": {},
|
44 | 37 | "source": [
|
45 |
| - "#### Basic Tenary Plot with Markers" |
| 38 | + "### Basic Ternary Plot with Markers" |
46 | 39 | ]
|
47 | 40 | },
|
48 | 41 | {
|
|
110 | 103 | {
|
111 | 104 | "data": {
|
112 | 105 | "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>" |
114 | 107 | ],
|
115 | 108 | "text/plain": [
|
116 | 109 | "<IPython.core.display.HTML object>"
|
|
221 | 214 | "name": "stdout",
|
222 | 215 | "output_type": "stream",
|
223 | 216 | "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" |
227 | 220 | ]
|
228 | 221 | },
|
229 | 222 | {
|
|
252 | 245 | "publisher.publish(\n",
|
253 | 246 | " 'ternary.ipynb', 'python/ternary-plots/', 'Python Ternary Plots | plotly',\n",
|
254 | 247 | " 'How to make Ternary plots in Python with Plotly.',\n",
|
255 |
| - " name = 'Ternary',\n", |
| 248 | + " name = 'Ternary Plots',\n", |
256 | 249 | " thumbnail='thumbnail/ternary.jpg', language='python',\n",
|
257 | 250 | " page_type='example_index', has_thumbnail='true', display_as='scientific', order=32) "
|
258 | 251 | ]
|
| 252 | + }, |
| 253 | + { |
| 254 | + "cell_type": "code", |
| 255 | + "execution_count": null, |
| 256 | + "metadata": { |
| 257 | + "collapsed": true |
| 258 | + }, |
| 259 | + "outputs": [], |
| 260 | + "source": [] |
259 | 261 | }
|
260 | 262 | ],
|
261 | 263 | "metadata": {
|
|
0 commit comments