MCPcopy Create free account
hub / github.com/PyQt5/PyQt / changeStyle

Method changeStyle

QtDataVisualization/ScatterVisualization.py:127–131  ·  view source on GitHub ↗
(self, style)

Source from the content-addressed store, hash-verified

125 self.m_graph.seriesList()[0].dataProxy().resetArray(dataArray)
126
127 def changeStyle(self, style):
128 comboBox = self.sender()
129 if isinstance(comboBox, QComboBox):
130 self.m_style = QAbstract3DSeries.Mesh(comboBox.itemData(style))
131 self.m_graph.seriesList()[0].setMesh(self.m_style)
132
133 def setSmoothDots(self, smooth):
134 self.m_smooth = bool(smooth)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected