If you end a notebook cell with a function, but don't assign the result to a variable, the notebook will display the result as the output of the cell.
In this case, you ended the cell with the function "ylabel('Gamma')", which returns an object of type matplotlib.text.Text. (It's a little confusing because the "ylabel" function both changes the current figure and returns a new object) You did not assign the function result to a variable, so it displays the result as the cell output (in addition to the figure). The same thing happens for function results in the standard python shell -- if you enter the line "ylabel('Gamma')", it will show "<matplotlib.text.Text ... >"
Usually it does not cause any trouble, but if you really want to suppress the output you can:
- put a semi-colon at the end of the last line: "ylabel('Gamma');"
- assign the result of the function to a variable: "_ = ylabel('Gamma')" (where "_" is a common name for a variable you don't want to use later)