Created
January 16, 2014 17:56
-
-
Save chriddyp/8459933 to your computer and use it in GitHub Desktop.
categorical y axis
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
{ | |
"metadata": { | |
"name": "categorical y axis" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": "import plotly\np = plotly.plotly('IPython.Demo', '1fw3zw2o13')", | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 1 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": "p.iplot([{'x': [1, 2, 3, 4], 'y': ['text1', 'text2', 'text3', 'text2']}], filename='catagorical y axis')", | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"html": "<iframe height=\"500\" id=\"igraph\" scrolling=\"no\" seamless=\"seamless\" src=\"https://plot.ly/~IPython.Demo/509/600/450\" width=\"650\"></iframe>", | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 4, | |
"text": "<IPython.core.display.HTML at 0x104b644d0>" | |
} | |
], | |
"prompt_number": 4 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": "", | |
"language": "python", | |
"metadata": {}, | |
"outputs": [] | |
} | |
], | |
"metadata": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment