def configure(self): DrawObject.configure(self) pdis.setContourLabels(self.labeltype, self.labeldigits) pdis.setContourLabelDistance(self.labeldistance) pdis.setContourLabelColor(self.labelcolor) pdis.setContourLabelString(self.labelstring) pdis.setContourLabelGap(self.labelgap) pdis.setLineStyle(self.linestyle) pdis.setLineWidth(self.linewidth)
def configure(self): DrawObject.configure(self) if not self.hideparts: pdis.setNoHiddenLines() if self.protected: pdis.setProtectSurfaces() pdis.setSurfaceVisibility(self.visibility) pdis.setSurfaceColors(self.topcolor, self.bottomcolor) pdis.setSurfaceShadingMode(self.shadingmode) pdis.setSurfaceMeshing(self.mesh, self.shadingon) pdis.setSurfaceMeshColor(self.meshcolor) if allExist(*self.colorscale): pdis.setSurfaceColorScale(self.colorscale[0], self.colorscale[1])
def configure(self): DrawObject.configure(self) self.args = (self.matrix, self.nrows, self.ncols, self.xinterp, self.yinterp)