Commit b302d342 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

Scale image with width of frame

parent 72fc1a98
Pipeline #3510 passed with stages
in 11 minutes and 17 seconds
......@@ -4,6 +4,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
......@@ -170,7 +171,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"MoocVideo(\"7nVO4uMm-do\", src_location='4.2-intro')"
......@@ -227,7 +230,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"p = SimpleNamespace(t=1.0, t_2=0.0, m=0.0, phi=np.pi/2)\n",
......@@ -359,7 +364,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"p = SimpleNamespace(t=1.0, m=0.2, phi=np.pi/2, t_2=None)\n",
......@@ -384,7 +391,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%%output fig='svg'\n",
......@@ -424,7 +433,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"question = (\"What happens if we take a Haldane model in the topological phase and turn \"\n",
......@@ -583,7 +594,7 @@
"\n",
"The situation is explained by the following sketch, which also gives a bird's-eye view of the phase diagram of the Haldane model as a function of the ratio $t_2/M$:\n",
"\n",
"![](figures/phasediagram.svg)"
"<img src=\"figures/phasediagram.svg\" alt=\"Phase diagram\" style=\"width: 70%\"/>"
]
},
{
......@@ -602,7 +613,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"p = SimpleNamespace(t=1.0, m=0.2, phi=np.pi/2, t_2=None)\n",
......@@ -615,7 +628,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"question = \"How does time-reversal symmetry influence the Berry curvature?\"\n",
......@@ -650,7 +665,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"p = SimpleNamespace(t=1.0, delta=1.0, gamma=-0.5, mu=None)\n",
......@@ -682,7 +699,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"MoocVideo(\"0gxE68kvdmw\", src_location='4.2-summary')"
......@@ -698,7 +717,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"MoocDiscussion(\"Questions\", \"Haldane model\")"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment