I want to zoom into the current active QGIS canvas from a standalone python script.
I tried the following but it doesn't impact the current QGIS canvas:
import qgis.utils
canvas = qgis.utils.iface.mapCanvas()
canvas.zoomIn()
Can I modify the QGIS app from a standalone python script (not from the QGIS Python console)? If so, how do I do that?
from qgis.gui import QgsMapCanvas?