(args, fig, orders)
| 826 | |
| 827 | |
| 828 | def configure_map(args, fig, orders): |
| 829 | center = args["center"] |
| 830 | if not center and "lat" in args and "lon" in args: |
| 831 | center = dict( |
| 832 | lat=args["data_frame"][args["lat"]].mean(), |
| 833 | lon=args["data_frame"][args["lon"]].mean(), |
| 834 | ) |
| 835 | fig.update_maps( |
| 836 | center=center, |
| 837 | zoom=args["zoom"], |
| 838 | style=args["map_style"], |
| 839 | ) |
| 840 | |
| 841 | |
| 842 | def configure_geo(args, fig, orders): |
nothing calls this directly
no test coverage detected