You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2id="Adding-Colorscales-to-Pandas-DataFrames">Adding Colorscales to Pandas DataFrames<aclass="anchor-link" href="#Adding-Colorscales-to-Pandas-DataFrames">¶</a></h2><p><code>Colorlover</code> is a great library for easily accessing the colorscales. We can use it to conveniently provide the colorscales for Plotly Charts. We will be using <ahref="https://github.com/santosjorge/cufflinks"><code>cufflinks</code></a> library, which binds Plotly directly to pandas dataframes.</p>
21
+
<h2id="Adding-Colorscales-to-Pandas-DataFrames">Adding Colorscales to Pandas DataFrames<aclass="anchor-link" href="#Adding-Colorscales-to-Pandas-DataFrames">¶</a></h2><p><code>Colorlover</code> is a great library for easily accessing colorscales. We can use it to conveniently provide the colorscales for Plotly Charts! We will be using the<ahref="https://github.com/santosjorge/cufflinks"><code>cufflinks</code></a> library, which binds Plotly directly to pandas dataframes.</p>
<p>List of all the colorscales supported by <code>colorlover</code> is available <ahref="https://plot.ly/ipython-notebooks/color-scales/#All-colors" target="_blank">Here</a></p>
258
+
<p>A list of all the colorscales supported by <code>colorlover</code> is available <ahref="http://nbviewer.jupyter.org/gist/jackparmer/4696226c9b6b931bbdf6#All-colors" target="_blank">here!</a></p>
Copy file name to clipboardExpand all lines: _posts/pandas/colorlover/colorlover-with-pandas.ipynb
+14-16Lines changed: 14 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,18 @@
6
6
"source": [
7
7
"## Adding Colorscales to Pandas DataFrames\n",
8
8
"\n",
9
-
"`Colorlover` is a great library for easily accessing the colorscales. We can use it to conveniently provide the colorscales for Plotly Charts. We will be using [`cufflinks`](https://github.com/santosjorge/cufflinks) library, which binds Plotly directly to pandas dataframes.\n",
9
+
"`Colorlover` is a great library for easily accessing colorscales. We can use it to conveniently provide the colorscales for Plotly Charts! We will be using the [`cufflinks`](https://github.com/santosjorge/cufflinks) library, which binds Plotly directly to pandas dataframes.\n",
10
10
"\n",
11
11
"To install Cufflinks:"
12
12
]
13
13
},
14
14
{
15
-
"cell_type": "code",
16
-
"execution_count": 1,
15
+
"cell_type": "markdown",
17
16
"metadata": {
18
17
"collapsed": false
19
18
},
20
-
"outputs": [],
21
19
"source": [
22
-
"! pip install cufflinks"
20
+
"`$ pip install cufflinks`"
23
21
]
24
22
},
25
23
{
@@ -30,14 +28,12 @@
30
28
]
31
29
},
32
30
{
33
-
"cell_type": "code",
34
-
"execution_count": 2,
31
+
"cell_type": "markdown",
35
32
"metadata": {
36
33
"collapsed": false
37
34
},
38
-
"outputs": [],
39
35
"source": [
40
-
"!pip install colorlover"
36
+
"`$ pip install colorlover`"
41
37
]
42
38
},
43
39
{
@@ -73,7 +69,7 @@
73
69
"cell_type": "markdown",
74
70
"metadata": {},
75
71
"source": [
76
-
"For example, To access all the colorscales with 9 colors:"
72
+
"For example, to access all the colorscales with 9 colors:"
"List of all the colorscales supported by `colorlover` is available <a href=\"http://nbviewer.jupyter.org/gist/jackparmer/4696226c9b6b931bbdf6#All-colors\" target=\"_blank\">Here</a>"
211
+
"A list of all the colorscales supported by `colorlover` is available <a href=\"http://nbviewer.jupyter.org/gist/jackparmer/4696226c9b6b931bbdf6#All-colors\" target=\"_blank\">here!</a>"
0 commit comments