mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
GeoTIFF: Switch PlotXY to display all river reaches.
This commit is contained in:
1 parent
8976f054c7
commit
2e360943b2
1 file changed
+3
-2
@@ -36,7 +36,7 @@ from View.GeoTIFF.UndoCommand import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
from View.Tools.Plot.PamhyrCanvas import MplCanvas
|
from View.Tools.Plot.PamhyrCanvas import MplCanvas
|
||||||
from View.LateralContribution.PlotXY import PlotXY
|
from View.PlotXY import PlotXY
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import rasterio
|
import rasterio
|
||||||
@@ -90,11 +90,12 @@ class EditGeoTIFFWindow(PamhyrWindow):
|
|||||||
|
|
||||||
self.plot = PlotXY(
|
self.plot = PlotXY(
|
||||||
canvas=self.canvas,
|
canvas=self.canvas,
|
||||||
data=None,
|
data=self._study.river.enable_edges(),
|
||||||
trad=self._trad,
|
trad=self._trad,
|
||||||
toolbar=None,
|
toolbar=None,
|
||||||
parent=self
|
parent=self
|
||||||
)
|
)
|
||||||
|
self.plot.update()
|
||||||
|
|
||||||
self._plot_img = None
|
self._plot_img = None
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user