Skip to content

Commit

Permalink
new plot attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Vebop committed Sep 23, 2024
1 parent 17a59f8 commit 99d3050
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions notebooks_tsqr/consdb/assorted_plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@
"plt.style.use('seaborn-v0_8-bright')\n",
"def plot(y, x):\n",
" # plot\n",
" fig, ax = plt.subplots()\n",
" ax.scatter(x, y)#, linewidth=2.0, color=\"#058b8c\")\n",
" fig = plt.figure(figsize=(6, 6))\n",
" ax = fig.subplots()\n",
" ax.scatter(x, y)\n",
"\n",
" plt.show()\n"
]
Expand Down Expand Up @@ -121,9 +122,16 @@
" display_markdown(f\"How many dec? {len(dec)}\", raw=True)\n",
"\n",
" display_markdown(f'Ra Dec should be populated for {instrument}', raw=True)\n",
" plot(ra, dec)\n",
" t.sleep(.5)"
" plot(ra, dec)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 99d3050

Please sign in to comment.