-# Replace both the global `plot` and the ones in the modules. I am
-# unclear about why this is necessary, and don't care too much.
-plot = mjo_plot
-sage.plot.plot.plot = mjo_plot
-sage.plot.all.plot = mjo_plot
+# This way, we don't have to try to replace all of the calls to
+# plot(); we just replace the one function that did the actual
+# implementation.
+sage.plot.plot._plot = mjo_plot