Skip to content

Instantly share code, notes, and snippets.

@Raahul-Singh
Created June 28, 2020 22:02
Show Gist options
  • Save Raahul-Singh/dfeb91b6d46256e1cdb0eecd70947063 to your computer and use it in GitHub Desktop.
Save Raahul-Singh/dfeb91b6d46256e1cdb0eecd70947063 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plt.figure(figsize=(12,12), dpi=100)\n",
"sns.distplot(does_flare.normalized_complexity, color='green')\n",
"sns.distplot(does_not_flare.normalized_complexity, color='red')\n",
"plt.legend(labels=['Flare occurs', 'Flare does not occur'])\n",
"plt.show()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.10"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment