Add pfp as abreviation for point_from_proportion

This commit is contained in:
Grant Sanderson
2020-03-14 16:53:02 -07:00
parent ab817c0962
commit 23440d020f

View File

@ -877,6 +877,10 @@ class Mobject(Container):
def point_from_proportion(self, alpha):
raise Exception("Not implemented")
def pfp(self, alpha):
"""Abbreviation fo point_from_proportion"""
return self.point_from_proportion(alpha)
def get_pieces(self, n_pieces):
template = self.copy()
template.set_submobjects([])