From 23440d020fb13f7e8cf10b782020dc844f8990cd Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 14 Mar 2020 16:53:02 -0700 Subject: [PATCH] Add pfp as abreviation for point_from_proportion --- manimlib/mobject/mobject.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py index a2705de1..69c0ebf3 100644 --- a/manimlib/mobject/mobject.py +++ b/manimlib/mobject/mobject.py @@ -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([])