Skip Navigation

Did you know that you can work with Jupyter notebooks directly in LabPlot?

Did you know that you can work with Jupyter notebooks directly in LabPlot?

@[email protected]

For example, let's open the following notebook to see how it works in #labplot

👉 https://github.com/demotu/BMC/blob/master/notebooks/Statistics-Descriptive.ipynb

#DataAnalysis #DataScience #Data #DataViz #Visualization #Plotting #Science #Statistics #FOSS #OpenSource #Python #Jupyter

16
16 comments
  • That's a great feature, indeed!

    I just downloaded this file and opened the notebook in LabPlot. This worked fine in general, but in some places I got errors because of missing packages.

    I can see that there is a requirements.txt in the same repo two folders up.

    How do I install packages into the environment LabPlot uses? Where can I define a venv for LabPlot? Can I define different venvs for different projects?

    • @silmaril

      Working with a custom venv in LabPlot is not possible yet.

      • I think it should be quite simple to make this possible.

        All we need is a parameter for the python binary path in the CAS Python configuration.

        This could be improved further by adding such a parameter to the project, which would override the global value if it is set and which could be a relative path, too. (OK, maybe we would also need some kind of automatism to find the correct binary both on Windows and Linux, because the path from the venv to the acutal python binary is different depending on the system).

  • I just looked at the documentation and saw that LabPlot only supports Python 2.x, which makes it entirely uninteresting to me.

    I'd love to see support for current Python versions, including following new releases, which might be easier to achieve with 3.x.

    But I know this kind of things is a lot of work to get started, so I won't blame anyone for not doing this ;-)

16 comments