Pol Febrer Calabozo
Pol Febrer Calabozo
Maybe it would be good to incorporate [`dask`](https://dask.org/), which distributes arrays on processes (generalizes to clusters if needed) and does lazy computations, instead of implementing it ourselves. Dask already supports...
And now I add: The way I have used it up until now is like: ```python ...plot(setting1=[0,1,2], animate="setting1") ``` never with the dictionaries, because I agree it's a bit verbose....
Hmm ok, so the `Plot` class already has the `multiple`, `subplots` and `animated` class methods. See: https://github.com/zerothi/sisl/blob/fab7c3fe4d467a4f74e13f14cef1b89b1d3ab632/sisl/viz/plotly/plot.py#L344-L592 And actually, what the `varying`, `subplots` and `animate` keywords do is basically to...
> Ok, I see. But how would geom.plot().subplots() work? My proposal was `geom.plot.subplots(..., fixed=:::)`, and it would basically just be a shorthand for `GeometryPlot.subplots(..., fixed={"geometry": geom, :::})` > Using subplots,...
> Would it be possible to lazy-plot stuff? ;) It would definitely be possible, but that would be a global thing, right? Otherwise it would be confusing that sometimes plots...
Hey! While you wait for Nick's answer, which will have probably other ways to do it, I just want to let you know that a first version of the visualization...
Great! Thanks for checking it out. I see that Nick commented out the CLI when he merged. That is because we are still not sure how the CLI should look...
For now you'll have to set the geometry before writing the file. Hadn't thought about this! ```python wfgrid = plot.grid wfgrid.geometry = sisl.Geometry.new("zeroPG.XV") wfgrid.write("wf.cube") ``` Sorry there isn't a faster...
Sorry, there's a faster way: if you use the hamiltonian instead of the fdf file, it will use the last geometry of the siesta run I believe. That is: ```python...
Hmm, and when you do: ```python sisl.Geometry.new("file.XV").plot() ``` are the atoms inside the unit cell?