- Sep 03, 2019
-
-
Joseph Weston authored
-
Joseph Weston authored
-
- Aug 21, 2019
-
-
Tómas authored
-
- Jul 17, 2019
-
-
Joseph Weston authored
-
Joseph Weston authored
Modify tutorial to remove warnings.
-
- Jul 09, 2019
-
-
Joseph Weston authored
Closes #304.
-
- Jul 05, 2019
-
-
Joseph Weston authored
-
Joseph Weston authored
-
- May 23, 2019
-
-
Joseph Weston authored
Currently we just set the default figure size. Matplotlib is annoying when it comes to setting these default parameters, and we have to ensure that we set any 'rcParams' in a separate Jupyter cell and *after* we import pyplot.
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
- May 07, 2019
-
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
- Feb 15, 2019
-
-
Joseph Weston authored
-
Joseph Weston authored
-
- Feb 12, 2019
-
-
Joseph Weston authored
Closes #263.
-
- Nov 28, 2018
-
-
Pablo Piskunow authored
-
- Aug 09, 2018
-
-
Joseph Weston authored
-
- May 22, 2018
-
-
Joseph Weston authored
Also add reference documentation for 'density'.
-
- Feb 26, 2018
-
-
Joseph Weston authored
-
- Dec 15, 2017
-
-
Christoph Groth authored
Previously, in order to not to fix the matplotlib backend, we required users to import matplotlib.pyplot before calling any Kwant plotting functions. This did not have the desired effect, since we did import `matplotlib.backends` and that also fixes the backend. Now, both backends and pyplot are imported at the last possible moment and a warning is emitted if this fixes the backend.
-
- Dec 08, 2017
-
-
Joseph Weston authored
Previously the fact that the positive direction of mode velocity is determined by the translational symmetry vector of the system was not made clear in the relevant docstrings. Closes #143.
-
- Oct 26, 2017
-
-
Christoph Groth authored
-
- Sep 12, 2017
-
-
Joseph Weston authored
Add the 'unicode-math' package and set the latex engine to 'xelatex'. Closes #126.
-
- Aug 18, 2017
-
-
Joseph Weston authored
Previously a point defect introduced by an incorrect treatment of the origin produced erroneous scattering. We also update the text to reflect the actual magnetic potential used. Closes #156.
-
- Jul 25, 2017
-
-
Christoph Groth authored
I assume that most people encounter the tutorial example scripts by reading the documentation, and not by viewing the tutorial subdirectory of a checked-out Kwant source. That's the motivation for moving all the manipulations of tutorial scripts from setup.py to doc/Makefile. Previously, a successful 'make html' would require a preceding execution of 'setup.py build_tut'. Now, a simple 'make html' is enough. While at it, I reorganized where the example scripts and their outputs are stored. Everything is now in 'doc/source/code' with its three subdirectories 'download' (to be shown to readers), 'include' (with include markers), and 'figure' (figure generation & figures). This organization is clearer and also makes the generation of figures separate from the tutorial.
-
Christoph Groth authored
The basic idea remains the same, but should work much better now. The difference is that images/example.py.diff is now a patch with complete context and becomes the authoritative source for both the visible flavor of an example as well as for its figure-generating variant. Both tutorial/example.py and images/example.py are extracted from this file by 'make html'. Thanks to the complete context the diffs are quite readable and may be modified directly. Alternatively, one may also modify the generated scripts. When tutorial/example.py has been modified, it will be patched and saved as images/example.py. The patching is done using the tool 'wiggle' that works much better than 'patch'. If a conflict occurs, conflict markers are added to the output file and its dated back to the dawn of time (i.e. 1970) in order to mark the conflicts as not yet resolved. After resolving, 'make html' is simply run again. Upon a successful execution of the figure-generating script the diff gets recreated automatically, 'generate-diffs' no longer exists.
-