Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Steinlechner
pykat
Commits
92812439
Commit
92812439
authored
Jun 24, 2016
by
Daniel Toyra
Browse files
Moved importing matplotlib inside plotting method to make build work
parent
9546c4b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/optics/maps.py
View file @
92812439
...
...
@@ -19,8 +19,6 @@ from scipy.optimize import minimize
from
pykat.math.zernike
import
*
from
pykat.exceptions
import
BasePyKatException
from
copy
import
deepcopy
import
matplotlib
import
matplotlib.pyplot
as
plt
import
numpy
as
np
import
math
...
...
@@ -411,6 +409,9 @@ class surfacemap(object):
# xlim and ylim given in centimeters
def
plot
(
self
,
show
=
True
,
clabel
=
None
,
xlim
=
None
,
ylim
=
None
,
isBlock
=
False
):
import
matplotlib
import
matplotlib.pyplot
as
plt
if
xlim
is
not
None
:
# Sorts out the x-values within xlim
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment