Preface¶
About this book¶
This open access book has been written in reStructuredText converted to LaTeX using docutils and exported to Portable Document Format using XeLaTeX. Sources are available at github.com/rougier/python-scientific-visualisation
How to contribute¶
If you want to contribute to this book, you can:
Review chapters & suggest improvements
Report issues & correct my English
Star the project on GitHub & buy the printed book
Prerequisites¶
This book is not a Python beginner guide and you should have an intermediate level in Python and ideally a beginner level in NumPy. If this is not the case, have a look at the bibliography for a curated list of resources.
Conventions¶
We will use usual naming conventions. If not stated explicitly, each script should import NumPy, SciPy and Matplotlib as:
import scipy
import numpy as np
import matplotlib.pyplot as plt
We’ll use up-to-date versions (at the date of writing, June 2019) of the different packages:
>>> import sys; print(sys.version)
3.7.4 (default, Jul 9 2019, 18:13:23)
[Clang 10.0.1 (clang-1001.0.46.4)]
>>> import numpy; print(numpy.__version__)
1.16.4
>>> import scipy; print(scipy.__version__)
1.3.0
>>> import matplotlib; print(matplotlib.__version__)
3.1.0
License¶
This volume is licensed under a Creative Commons Attribution Non Commercial Share Alike 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. You may not use the material for commercial purposes. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. To learn more, visit creativecommons.org.
Unless stated otherwise, all the figures are licensed under a Creative Commons Attribution 4.0 International License and all the code is licensed under a BSD 2-clause license.