How can I hide the "In [*]:" prompts on the left side of input cells in ipython notebooks, as shown below?
Edit: The question asked in ipython notebook nbconvert - how to remove red 'out[N]' text in top left hand corner of cell output? is not the same as the question that is asked here. Here I want to hide the cell numbers in the browser itself, rather than in the output from nbconvert. However, one of the responses in that question does solve my issue.
This solved my problem: https://stackoverflow.com/a/30234937/805357 .Putting the following code in a cell hides the cell numbers.
%%HTML
<style>
div.prompt {display:none}
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With