Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4708b commit d86465aCopy full SHA for d86465a
doc/users/next_whats_new/collection_offsets.rst
@@ -0,0 +1,5 @@
1
+Setting collection offset transform after initialization
2
+--------------------------------------------------------
3
+`~matplotlib.collections.COllection.set_offset_transform` was added.
4
+
5
+Previously the offset transform could not be set after initialization.
lib/matplotlib/collections.py
@@ -229,6 +229,8 @@ def get_offset_transform(self):
229
230
def set_offset_transform(self, transOffset):
231
self._transOffset = transOffset
232
+ self.pchanged()
233
+ self.stale = True
234
235
def get_datalim(self, transData):
236
# Calculate the data limits and return them as a `.Bbox`.
0 commit comments