Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
500f30f3
Commit
500f30f3
authored
Mar 26, 2019
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plot background to white
parent
487757ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
escher_pattern.py
src/main/resources/escher_pattern.py
+2
-10
No files found.
src/main/resources/escher_pattern.py
View file @
500f30f3
...
...
@@ -110,6 +110,8 @@ class Escher_Pattern:
self
.
ax
.
set_ylim
([
0
,
self
.
height
])
self
.
ax
.
set_xlim
([
0
,
self
.
width
])
self
.
ax
.
set_facecolor
(
'white'
)
self
.
rotation
=
mpl
.
transforms
.
Affine2D
()
.
rotate_deg
(
-
self
.
angle
)
+
self
.
ax
.
transData
print
(
"init done"
)
...
...
@@ -319,13 +321,3 @@ if __name__ == "__main__":
#ep = Escher_Pattern(width= 160, height= 320, escher=2, lpm=50, rotate=13)
ep
.
generate
()
ep
.
save
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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