Does anyone please know how to find out what paragraph your Scala code is running in at runtime? I'm using the standalone distribution of Zeppelin, zeppelin-0.5.0-incubating.tgz.
I want to write some Scala code that does one thing if it's being executed in the same paragraph as another call to my code, but another if it's executing in a different paragraph to the other call. (Specifically I want to create a new figure or chart if it's running in a new paragraph, or add to an existing figure if it's running in the same paragraph.) Many thanks, Lucas.
