Compare commits
	
		
			3 Commits
		
	
	
		
			be4e357328
			...
			7ab33f3e66
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7ab33f3e66 | |||
| de27a4d4dc | |||
| a3ee58cfc3 | 
@ -85,7 +85,6 @@
 | 
				
			|||||||
    "# Plots now appear in the notebook.\n",
 | 
					    "# Plots now appear in the notebook.\n",
 | 
				
			||||||
    "%matplotlib inline                       \n",
 | 
					    "%matplotlib inline                       \n",
 | 
				
			||||||
    "\n",
 | 
					    "\n",
 | 
				
			||||||
    "from __future__ import print_function, division    # Python 2 and 3 are now very similar\n",
 | 
					 | 
				
			||||||
    "import matplotlib.pyplot as plt\n",
 | 
					    "import matplotlib.pyplot as plt\n",
 | 
				
			||||||
    "plt.style.use('ggplot')                            # Matplotlib style sheet - nicer plots!\n",
 | 
					    "plt.style.use('ggplot')                            # Matplotlib style sheet - nicer plots!\n",
 | 
				
			||||||
    "plt.rcParams['figure.figsize'] = 12, 8             # Slightly bigger plots by default"
 | 
					    "plt.rcParams['figure.figsize'] = 12, 8             # Slightly bigger plots by default"
 | 
				
			||||||
@ -587,7 +586,7 @@
 | 
				
			|||||||
    "import numpy as np\n",
 | 
					    "import numpy as np\n",
 | 
				
			||||||
    "\n",
 | 
					    "\n",
 | 
				
			||||||
    "# Create a large array with with 1 million samples.\n",
 | 
					    "# Create a large array with with 1 million samples.\n",
 | 
				
			||||||
    "x = np.linspace(start=0, stop=100, num=1E6, dtype=np.float64)\n",
 | 
					    "x = np.linspace(start=0, stop=100, num=int(1E6), dtype=np.float64)\n",
 | 
				
			||||||
    "\n",
 | 
					    "\n",
 | 
				
			||||||
    "# Most operations work per-element.\n",
 | 
					    "# Most operations work per-element.\n",
 | 
				
			||||||
    "y = x ** 2\n",
 | 
					    "y = x ** 2\n",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user