-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
There is an issue with the draw method in the HighDensityRegionAlgorithm class when the ot.Contour function is called.
In version 1.4 of OpenTurns, the definition of this function has changed, and it now requires only three arguments. However, the current call to the function on line 251 still uses five arguments.
To fix this issue, replace the following:
contour = ot.Contour(
xx, yy, data, self.pvalues, ot.Description(labels)
)With this:
contour = ot.Contour(
xx, yy, data
)
contour.setLevels(self.pvalues)
contour.setLabels(ot.Description(labels))This modification ensures that the draw method works as expected.
Metadata
Metadata
Assignees
Labels
No labels