Commit facc2614 authored by Hendrik Kleikamp's avatar Hendrik Kleikamp Committed by René Fritze

[gui] added missing matplotlib magic functions and fixed scaling

parent 5d389d9e
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib notebook"
]
},
{
"cell_type": "code",
"execution_count": null,
......
......@@ -40,6 +40,15 @@
"## Import modules"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib notebook"
]
},
{
"cell_type": "code",
"execution_count": null,
......
......@@ -9,6 +9,15 @@
"License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib notebook"
]
},
{
"cell_type": "code",
"execution_count": null,
......
......@@ -94,8 +94,7 @@ class Matplotlib1DAxes:
else:
self.lines.set_ydata(np.repeat(u, 2))
self.axes.relim()
self.axes.autoscale_view(True,True,True)
self.axes.set_ylim(self.vmin, self.vmax)
if config.HAVE_QT and config.HAVE_MATPLOTLIB:
......
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