We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a8dae4 commit 1257625Copy full SHA for 1257625
1 file changed
src/data.rs
@@ -316,10 +316,8 @@ impl Data {
316
_names: &mut Option<Vec<(Vec<String>, String)>>,
317
_ret: &mut Option<String>,
318
) {
319
- if !self.data.is_empty() {
320
- self.data.pop();
321
- }
322
- if let Some(n) = plot.names.first() {
+ self.data.clear();
+ for n in &plot.names {
323
let item = Tokens::infix(
324
n.name.as_str(),
325
&mut self.vars,
0 commit comments