Drawing values from custom distribution

Indeed Google Colab looks nice, thanks for the tip. Here is my notebook:

Indeed there are tons of divergences during sampling.

Is there a quick way to draw some values from the distribution to check that they match my input?