question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plotting/GUI CLI should they be separate or combined?

See original GitHub issue

We need to figure out whether we need two CLI for plotting and for GUI handling.

I am starting to more advocate one CLI for both.

sgui ase
sgui matplotlib/plot
sgui plotly

something like this.

Since we are in doubt of the placement of individual functionality, users will without a doubt also!! 😃

Please chip in here! 😉 @pfebrer96 @jonaslb

_Originally posted by @zerothi in https://github.com/zerothi/sisl/pull/221#discussion_r487800251_

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:32 (32 by maintainers)

github_iconTop GitHub Comments

1reaction
zerothicommented, Aug 24, 2021

Yes, I want to do that. But you should just assume you get passed an argument parser where you create your own sub-command.

1reaction
zerothicommented, Jan 22, 2021

entry -> prepare -> draw -> postprocess (or deprepare or something) Sometimes it may be nice to close files, delete temporary stuff or something else. 😃

Hahah ok, I thought siles automatically closed the file handle after you read.

Yeah, most do, but some (the fortran binary files) needs to be closed somewhat manually (in some cases).

Exactly, it is to clarify order of execution. In your case it isn’t exactly clear which order things should be done in. I think my naming is a bit clearer. I don’t really mind the wording, I would just like it to be clear which order they are intended.

My question was about the doc line of prepare:

“”" Prepare plots, could be reading data, or creating a figure or …“”"

What does it mean “creating a figure” here?

Yeah, I don’t know 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mixing CLI and GUI help - Support - Chia Forum
I am using GUI to farm and run full node because it's comfortable to view all the data this way. But because it's...
Read more >
create a GUI with 2 plots (axes) and 2 pushbuttons - YouTube
This tutorial is create a GUI with 2 plots (axes) and 2 pushbuttons. More engineering tutorial videos are available in ...
Read more >
Graphical User Interfaces
When developing a TK-based GUI for plotting, there are two ... two separate distributions, even though it will be treated as a single ......
Read more >
Why can't matplotlib plot in a different thread? - Stack Overflow
So the idea was to do the plotting in a separate thread. I have seen suggestions (e.g. here) to use a process rather...
Read more >
plotting data as the simulation runs - Neuron.yale.edu
I would like to create a Graph that is updated during the simulation, like the graphs that are created using the GUI. I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found