You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have taken code from an example and the outputs are not working, it may be because you need an updated version of Shiny.
Perhaps your app is supposed to look like this, with a plot
But instead it looks like this, where there's nothing in the place of the plot:
In Shiny 0.6.0, released on 2023-10-03, we changed Shiny so that the @output decorator is no longer needed. In the current development version of Shiny (after the 0.6.1 release), we have updated the examples so that they no longer use the @output decorator (#790).
# Old version of code examples@output@render.plotdefplt():
...
# New version of code examples@render.plotdefplt():
...
If you have copied and pasted code that does not have @output, and are using Shiny 0.5.1 or older, then you might have the problem shown in the screenshot above. (You check your Shiny version at the Python console by running import shiny; shiny.__version__.)
To fix the problem, either:
Update to a newer version of Shiny (at least 0.6.0)
or add @output above the render decorators, as in:
@output@render.plotdefplt():
...
The text was updated successfully, but these errors were encountered:
If you have taken code from an example and the outputs are not working, it may be because you need an updated version of Shiny.
Perhaps your app is supposed to look like this, with a plot
But instead it looks like this, where there's nothing in the place of the plot:
In Shiny 0.6.0, released on 2023-10-03, we changed Shiny so that the
@output
decorator is no longer needed. In the current development version of Shiny (after the 0.6.1 release), we have updated the examples so that they no longer use the@output
decorator (#790).If you have copied and pasted code that does not have
@output
, and are using Shiny 0.5.1 or older, then you might have the problem shown in the screenshot above. (You check your Shiny version at the Python console by runningimport shiny; shiny.__version__
.)To fix the problem, either:
Update to a newer version of Shiny (at least 0.6.0)
or add
@output
above the render decorators, as in:The text was updated successfully, but these errors were encountered: