Spyder与终端上实时利用动画情节的差异

问题描述

我能够生成一个工作的实时图形绘制值来模拟实时ECG数据,但是Spyder中的输出与使用常规终端之间存在差异。在Spyder中,它绘制一条对角线到1000(或我决定在此处放置的任何数字),而在终端则没有。我怀疑必须与class HomeScreen extends React.Component { constructor() { super(); this.state = { bagTitle: 'View Bag' } this.showBag = this.showBag.bind(this); this.renderContent = this.renderContent.bind(this); } // FUNCTIONS showBag = (item) => { sheetRef.current.snapTo(1); if (item.title !== null) { this.setState({ bagTitle: item.title }) console.log('ITEM: ',item); } } renderContent = () => ( <View style={{ backgroundColor: '#ecf0f1',padding: 16,fontSize: 20,height: windowHeight,width: windowWidth,marginBottom: -200 }} > <Text onPress={this.showBag} style={{ fontSize: 17,fontWeight: '600',textAlign: 'center',position: "absolute",marginTop: 20,width: windowWidth }}>{this.state.bagTitle}</Text> </View> ); render() { const title = 'View Bag' return ( <View style={styles.container}> <StatusBar style="auto" /> {/* Bottomsheet View */} <BottomSheet ref={sheetRef} snapPoints={[100,300,Dimensions.get('window').height - 100]} borderRadius={10} renderContent={this.renderContent} /> </View> ); } } 在一起。尝试修改或隐藏该线时,绘图失败。我的x标签的时间也略有缩短,但是当试图使它们逼真时(与“ 99秒前”相比,每秒大约滴答声),似乎会大大改变绘图的分辨率。

line,= ax.plot(x,np.linspace(0,1000,100))

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...