Arun
Arun

Reputation: 119

Interactive visualization interface using Python

I created a tower of Hanoi code using python. Now, I want to visualize the steps after running the code. For example, when my code prints 'Move from A to C', one disc will move from Stack A to Stack C. Then next maybe B to C. I want to visualize the steps using some python code. I know it can be done using R shiny, but I have to do it using python only. Does anyone have any idea what are the possible options for this.

Upvotes: 1

Views: 208

Answers (1)

Jacques Kvam
Jacques Kvam

Reputation: 3056

To solve the interactive part you have a few tools available. Bowtie and Dash are tools like Shiny for Python (disclaimer I wrote Bowtie). You could also do this with Jupyter Notebooks using widgets.

For the visualization, the standard tool is matplotlib.

Upvotes: 1

Related Questions