Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Weston
kwant
Commits
f6ee0b00
Commit
f6ee0b00
authored
5 years ago
by
Joseph Weston
Browse files
Options
Downloads
Patches
Plain Diff
add a whatsnew entry
parent
35873024
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/pre/whatsnew/1.5.rst
+27
-0
27 additions, 0 deletions
doc/source/pre/whatsnew/1.5.rst
with
27 additions
and
0 deletions
doc/source/pre/whatsnew/1.5.rst
+
27
−
0
View file @
f6ee0b00
...
...
@@ -65,6 +65,33 @@ rather than::
kwant.lattice.square()
Plotly for plots
----------------
Kwant can now use the `Plotly <https://plot.ly/>`_ library when plotting,
though matplotlib is still used by default. Using plotly empowers Kwant
to produce high-quality interactive plots, as well as true 3D support:
.. jupyter-execute::
:hide-code:
import kwant
import kwant.plotter
.. jupyter-execute::
lat = kwant.lattice.cubic(norbs=1)
syst = kwant.Builder()
def disk(r):
x, y, z = r
return -2 <= z < 2 and 10**2 < x**2 + y**2 < 20**2
syst[lat.shape(disk, (15, 0, 0))] = 4
kwant.plotter.set_engine("plotly")
kwant.plot(syst);
Automatic addition of Peierls phase terms to Builders
-----------------------------------------------------
Kwant 1.4 introduced `kwant.physics.magnetic_gauge` for computing Peierls
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment