Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cittena
cittena
Commits
d5af5590
Commit
d5af5590
authored
Mar 22, 2017
by
Niels-Oliver Walkowski
Browse files
update set_axis_bg_color depricated in matplotlib 2.0
parent
53613770
Changes
1
Hide whitespace changes
Inline
Side-by-side
itten/visuals.py
View file @
d5af5590
...
...
@@ -59,7 +59,7 @@ class SequencePlot(object):
axt
.
xaxis
.
set_major_locator
(
loc
)
axt
.
xaxis
.
set_major_formatter
(
fmt
)
ax
.
set_
axis_bg
color
((
1
,
1
,
1
))
#
TODO: gradient
ax
.
set_
face
color
((
1
,
1
,
1
))
#
INFO war vor matplotlib 2 set_axis_bgcolor
chn_label
=
view
.
_contrast
ax
.
set_ylabel
(
chn_label
,
{
'fontsize'
:
8
})
...
...
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