Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions Fig4_PyGMT_pandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@
")\n",
"\n",
"# Add histogram for magnitude distribution\n",
"with fig.inset(position=\"jBL+w7c/4c+o0.2c\", clearance=(1.3, 0.2, 1.1, 0.2), box=True):\n",
"with fig.inset(\n",
" position=Position(\"BL\", offset=0.2),\n",
" width=7,\n",
" height=4,\n",
" clearance=(1.3, 0.2, 1.1, 0.2),\n",
" box=True,\n",
"):\n",
" fig.histogram(\n",
" region=[4.8, 9.2, 0, 0],\n",
" projection=\"X?/?\",\n",
Expand All @@ -72,6 +78,14 @@
"fig.show()\n",
"# fig.savefig(\"Fig4_PyGMT_pandas.png\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "bea0f37a",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -90,7 +104,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.9"
"version": "3.12.8"
}
},
"nbformat": 4,
Expand Down