[Matplotlib-users] Is the Keyword Argument 'transform' of PathPatch Deprecated?

Amit Yaron amit at phpandmore.net
Tue Jul 30 08:18:12 EDT 2019


It makes actors disappear ,but when I use 'transform_path' it works fine.
Following is an example code snippet:

theta=np.arcsin(0.6)
trans=transforms.Affine2D().rotate_around(76.5,32.5,theta)#.transform_path(textPath5)
pathPatch=patches.PathPatch(textPath5,alpha=1,transform=trans);

Thanks,
   Amit



More information about the Matplotlib-users mailing list