Looks like Trinket has numpy 1.15.4 installed. Not sure if that is the same version available for Trinket’s processing.py, because numpy.__version__ and numpy.version.version don’t work in its processing.py sketch window – although they do in a general python window?
15.4 numpy is bad news for JyNI, which has many known problems above 13.3.
Also, it looks like Trinket uses Skulpt to host their generic Python (python2) sketches. Not sure how that relates to how they serve python mode.