Skip to content

Commit

Permalink
Remove seaborn 0.8 colormap
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Jul 10, 2017
1 parent bff20e5 commit ee627e5
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions notebooks/Example - Customize the us-ALEX histogram.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
"metadata": {},
"outputs": [],
"source": [
"alex_jointplot(ds, cmap='icefire')"
"alex_jointplot(ds, cmap='plasma')"
]
},
{
Expand All @@ -207,7 +207,7 @@
"metadata": {},
"outputs": [],
"source": [
"alex_jointplot(ds, cmap='icefire', marginal_color=83)"
"alex_jointplot(ds, cmap='plasma', marginal_color=83)"
]
},
{
Expand Down Expand Up @@ -248,6 +248,25 @@
" joint_kws={'shade': False, 'n_levels': 12, 'bw': 0.04})"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## No marginals\n",
"\n",
"Finally, we can plot only the hexbin 2D histogram without marginals:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plt.figure(figsize=(5,5))\n",
"hexbin_alex(ds)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -396,7 +415,7 @@
" bandwidth = widgets.FloatText(value=0.03, min=0.01, max=1),\n",
" gridsize = (10, 100),\n",
" min_size=(10, 500, 5),\n",
" cmap=widgets.Dropdown(value='icefire', options=cmaps),\n",
" cmap=widgets.Dropdown(value='Spectral', options=cmaps),\n",
" reverse_cmap = True,\n",
" vmax_fret = True,\n",
" )\n",
Expand Down

0 comments on commit ee627e5

Please sign in to comment.