Skip to content

Map of a country with plotly

The aim of create a map of a country with plotly. I show you the code to make the map with dots from cities and I want to change it to regions: In the scope we have by default: “world” | “usa” | “europe” | “asia” | “africa” | “north america&#82…

How to define an array of action spaces?

I am trying to create a crypto trading bot that can trade multiple crypto coins simulatenously. So for example if I have n=4 coins (e.g. : 0-BTC, 1-ETH, 2-DOT, 3-SOL), then an example of action space would be something like: Where: BUY if action > 0 HOLD if action == 0 Sell if action < 0 So, in the give…

Python Dash – how to pass parameters in @app.callback

I am trying to create a Dash example that could make use of live updates by using the documentation here: https://dash.plotly.com/live-updates In the code there is a key part which allows the app.call back to know what the input and output is: This works well for one component, however if say I have five diff…