mbakker7 / ttim

MIT License
34 stars 23 forks source link

Update master for release v0.6.6 #56

Closed mbakker7 closed 9 months ago

dbrakenhoff commented 9 months ago

Using this PR to make a new release for TTim.

dbrakenhoff commented 9 months ago

@mbakker7, all good to go?

mbakker7 commented 9 months ago

Looks good. Only improvement I am wondering about is the cross-sectional figures in the pumping test notebooks. There is a nice figure in, for example, the Oude Korendijk notebook with. a cross-section of the aquifer. The code for this figure is also shown in the notebook, but the code is exceedingly long (several screens). Any way we can hide the code of this cell in ReadTheDocs?

dbrakenhoff commented 9 months ago

~Let's move the code for creating the cross sections to a separate file and call it from there. I'll make the change.~

EDIT: better idea, there is a way to hide that code cell. I'll try that first.

mbakker7 commented 9 months ago

That worked! Code cell is hidden in Oude Korendijk. You're gonna have to tell me how you did that. Ready to merge.

dbrakenhoff commented 9 months ago

Add the cell tag "hide-input" to the cell metadata. I believe you can edit cell metadata in Jupyter Lab through a separate small window somehow. In VS Code you can use the "Add cell tag"-command and then type "hide-input".

This is what it looks like in JSON:

  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "tags": [
     "hide-input"
    ]
   },
   "outputs": [
    {
     "data": {
        "<output here>"
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "<python code here>"
   ]
  },