Python Data Science Handbook: Essential Tools for Working with Data by VanderPlas Jake
Author:VanderPlas, Jake [VanderPlas, Jake]
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2016-11-20T16:00:00+00:00
In [ 4 ]: for i in range ( 1 , 7 ): plt . subplot ( 2 , 3 , i ) plt . text ( 0.5 , 0.5 , str (( 2 , 3 , i )), fontsize = 18 , ha = 'center' )
Figure 4-61. A plt.subplot() example
The command plt.subplots_adjust can be used to adjust the spacing between these plots. The following code (the result of which is shown in Figure 4-62 ) uses the equivalent object-oriented command, fig.add_subplot() :
In [ 5 ]: fig = plt . figure () fig . subplots_adjust ( hspace = 0.4 , wspace = 0.4 ) for i in range ( 1 , 7 ): ax = fig . add_subplot ( 2 , 3 , i ) ax . text ( 0.5 , 0.5 , str (( 2 , 3 , i )), fontsize = 18 , ha = 'center' )
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Hot Zone by Richard Preston(1886)
Rigor Mortis by Richard Harris(1569)
How Innovation Works by Matt Ridley(1498)
Oxymoronica by Dr. Mardy Grothe(1429)
Mawson's Will by Lennard Bickel(1333)
Kathryn Bowers & Barbara Natterson-Horowitz by Zoobiquity(1301)
The Future of the Mind: The Scientific Quest to Understand, Enhance, and Empower the Mind by Michio Kaku(1262)
Bankrupting Physics by Alexander Unzicker(1240)
THE DEMON HAUNTED WORLD by Carl Sagan(1225)
The End of Breast Cancer by Kathleen T. Ruddy MD(1212)
Statistics Done Wrong: The Woefully Complete Guide by Alex Reinhart(1207)
The Ghost Hunters by Deborah Blum(1205)
One Two Three ... Infinity: Facts and Speculations of Science by George Gamow(1165)
The Universe Speaks in Numbers by Graham Farmelo(1132)
Science Book by Big Ideas Simply Explained(1119)
The Wizards of Langley by Jeffrey T Richelson(1037)
Biomimicry by Janine M. Benyus(1030)
Rigor Mortis: How Sloppy Science Creates Worthless Cures, Crushes Hope, and Wastes Billions by Richard Harris(994)
The Case Against Fragrance by Kate Grenville(986)
