我在使用matplotlib制作动画时遇到麻烦。下面是所有代码:
$('.owl-carousel').owlCarousel({
loop: true,
margin: 10,
nav: true,
responsive: {
0: {
items: 1
},
600: {
items: 3
},
1000: {
items: 5
}
}
})
现在是重要的部分:
body {
background-color: teal;
}
.owl-carousel {
background-color: orange;
}
.owl-carousel .item:hover .details {
display: block;
}
.owl-carousel .item-inner-wrapper {
position: relative;
}
.owl-carousel h4 {
background-color: yellow;
height: 100px;
}
.owl-carousel .details {
background-color: pink;
position: absolute;
bottom: 0;
right: 0;
left: 0;
display: none;
height: auto;
}
我从没使用过matplotlib动画,在阅读了一些网站后,我不适应我的功能。我已经通过每次进行一次matshow来制作多个“快照”。 非常感谢你, 费尔南多