I don't seem to understand
CloudDeploy; it seems like it deploys a function, but not its dependent expressions. How should I deploy an expression that may have dependencies previously in the notebook?
For example, I evaluated the following expression:
I then visited the deployed page, and got a plot with no function.
This is a simplified version; in more complex ones, such as when
PlotRange depends on something previously defined, I can see error messages.
It seems that
CloudDeploy's deployed object definition isn't closed over the set of definitions in effect. However, the docs (at ref/CloudDeploy.html) specify that:
CloudDeploy[expr,…]automatically deploys all definitions needed to evaluate expr, much like
Am I misunderstanding something here?