Skip to content

Commit

Permalink
🔖 v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Wytamma committed Aug 14, 2021
1 parent 24690c7 commit 473c39e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "beastiary"
version = "0.6.0"
version = "0.7.0"
description = ""
authors = ["Wytamma Wirth <[email protected]>"]
readme = "PYPI-README.md"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ParamsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</v-toolbar>
<v-expand-transition>
<div >
<v-card-text style="max-height: 400px ;overflow: auto">
<v-card-text style="max-height: 350px ;overflow: auto">
<v-list dense >
<v-list-item-group
color="primary"
Expand Down
17 changes: 6 additions & 11 deletions frontend/src/views/main/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<v-row
no-gutters
>
<v-col cols="3">
<v-row no-gutters>
<v-col cols="3" class="">
<v-row no-gutters class="">
<v-col>
<TracesPanel />
</v-col>
Expand All @@ -16,7 +16,9 @@
</v-row>
</v-col>
<v-col cols="9">
<div class="ma-4">
<Plotly v-if="activeTrace" :data="plotData" :layout="layout" :display-mode-bar="false"></Plotly>
</div>
</v-col>
</v-row>
</v-layout>
Expand Down Expand Up @@ -44,16 +46,9 @@ export default class Dashboard extends Vue {
let trace = readActiveTrace(this.$store);
let param = readActiveParam(this.$store)
if (trace && param){
let y = {};
trace.parameters[param].forEach(obj => {
Object.keys(obj).forEach(key => {
y[key] = (y[key] || []).concat([obj[key]]);
});
});
console.log([y])
return [{
x: y['state'],
y: y['value'],
x: trace.parameters[param].map(function(row) { return row['state']; }),
y: trace.parameters[param].map(function(row) { return row['value']; }),
type:"scatter"
}]
} else {
Expand Down

0 comments on commit 473c39e

Please sign in to comment.