第一次在stackoverflow上问一些问题。
在使用seaborn的lmplot时遇到问题。
清理后的数据集很简单:image of data set
我正在尝试使用以下方法创建具有线性回归(这是lmplot所用)的facetgrid散点图:
- col(dtype对象)的stationame
- x轴的年份(dtype整数)
- y轴的月总计(dtype整数)
看起来像这样:lmplot example from seaborn
下面是我的代码,我期待的是散点图+回归,类似于上面的示例。
<template>
<div id="app">
<div class="page">
<app-header></app-header>
<app-home></app-home>
</div>
</div>
</template>
<script>
export default {
data () {
return {
msg: 'Welcome to Your Vue.js App'
}
}
}
</script>
<style>
@import '//fonts.googleapis.com/css?
family=Poppins:300,400,500,600,700,800,900%7CRoboto:300,900';
@import './assets/css/bootstrap.css';
@import './assets/css/style.css';
@import './assets/css/fonts.css';
</style>
但是,图形输出是这样的: seaborn lmplot image
我可以采取什么措施来纠正这种情况?预先感谢您的帮助!