mirror of https://gitlab.com/pamhyr/pamhyr2
GeoTIFF: Switch PlotXY to display all river reaches.
parent
8976f054c7
commit
2e360943b2
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue