This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import pi, sin, cos, exp, linspace, meshgrid | |
import matplotlib.pyplot as plt | |
from matplotlib import cm | |
def mod(x, y): | |
return x % y | |
def surf(X, Y, Z): | |
ax = plt.axes(projection='3d') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
from subprocess import Popen, PIPE | |
import sys | |
import re | |
try: | |
import vim | |
except ImportError: | |
print("warning: importing ipython_cell outside vim, some functions will " |