In [2]:
from IPython.core.display import HTML
css_file = 'css/ngcmstyle.css'
HTML(open(css_file, "r").read())
Out[2]:
In [4]:
%matplotlib inline

#rcParams['figure.figsize'] = (10,3) #wide graphs by default
import scipy
import numpy as np
import time
from mpl_toolkits.mplot3d import Axes3D
from IPython.display import clear_output,display
import matplotlib.pylab as plt
from matplotlib import cm
plt.style.use('ggplot')
In [5]:
from sympy import hessian,symbols,solve,diff,sin,cos,pi

grad = lambda func, vars :[diff(func,var) for var in vars]

x,y,z=symbols("x y z",real=True)
In [3]:
import plotly.plotly as py
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot,iplot_mpl
init_notebook_mode()