Questions tagged [py-shiny]

Shiny for Python - Shiny makes it easy to build interactive web applications with the power of Python’s data and scientific stack.

Shiny for Python:

Shiny makes it easy to build interactive web applications with the power of Python’s data and scientific stack.

38 questions
0
votes
1 answer

How to add "download button" in shiny for pandas dataframe

I'm working on a shiny app that analyzes pandas dataframes. The program displays an error for downloading after generating the new dataframe. I did not figure out how to have the app get the new pandas dataframe in the same way as…
0
votes
1 answer

How can I tell which ax is selected on an interactive shiny for python plot?

I'd like to generate a figure with multiple subplots that has basic interactivity; clicking, hovering etc... Here is an example of a figure with a single subplot from the official docs: https://shinylive.io/py/examples/#basic-plot-interaction. How…
davipatti
  • 316
  • 2
  • 6
0
votes
0 answers

How to get user inputs to an excel file in Shiny dashboard?

The dashboard I prepared with shiny can be seen in the image. I want to store the user inputs in an excel file. How can I store all of these input values in an excel file which will be in the same directory if I press the button? Code can be seen…
murcielago
  • 11
  • 4
0
votes
2 answers

Shiny for Python: Clearing Local Files on Session Close

How Do I Delete Local Files on Session Close? My app allows users to upload a file and request some server-side stuff be done to it. Awesome. However, I don't want these files to stay there. Looking at the documentation, something like this should…
PipperChip
  • 141
  • 1
  • 1
  • 8
0
votes
0 answers

Shiny for Python: Button Kwargs?

Where is a documented list of kwargs I can pass to buttons (download, inputs, etc.) in Python shiny? That's really all I need to get my first shiny app where I want it to be. A "What's the Magic Words?" Situation My app's workflow looks something…
PipperChip
  • 141
  • 1
  • 1
  • 8
0
votes
0 answers

How to get selected rows from qgrid in pyshiny

I'm using qgrid with pyshiny and I would like to detect what rows are selected in qgrid when the user presses a button: from shiny import App, render, ui, reactive import pandas as pd from shinywidgets import * import qgrid app_ui = ui.page_fluid( …
michael
  • 245
  • 2
  • 11
0
votes
0 answers

Matplotlib plot not showing on Py-Shiny application

I am following the Shiny for Python tutorial, and it looks like the default plot example is not working on my computer. I can see the slider, but not the plot when I launch the application. Matplotlib plots work fine when I launch them outside of a…
gdevaux
  • 2,308
  • 2
  • 10
  • 19
0
votes
0 answers

Python object analogous to R object

I have a question for you all specially for the ones who work with both R and Python. I am making a switch back to Python from R and I have hit a roadblock. Background: When one needs to prepare a dashboard in R shiny, the simplest approach is to do…
Angelo
  • 4,829
  • 7
  • 35
  • 56
1 2
3