mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix problem with black background in snapshot export
This commit is contained in:
@@ -42,7 +42,7 @@ class Plot(PdmObject):
|
||||
|
||||
Returns:
|
||||
A list of files exported
|
||||
"""
|
||||
"""
|
||||
res = self._execute_command(exportWellLogPlotData=Cmd.ExportWellLogPlotDataRequest(exportFormat='LAS',
|
||||
viewId=self.view_id,
|
||||
exportFolder=export_folder,
|
||||
|
||||
@@ -157,7 +157,9 @@ class Project(PdmObject):
|
||||
pdm_objects = self.descendants("RimPlotWindow")
|
||||
plot_list = []
|
||||
for pdm_object in pdm_objects:
|
||||
plot_list.append(Plot(pdm_object))
|
||||
plot = Plot(pdm_object)
|
||||
if plot.view_id != -1:
|
||||
plot_list.append(plot)
|
||||
return plot_list
|
||||
|
||||
def plot(self, view_id):
|
||||
|
||||
Reference in New Issue
Block a user