gnuplotlib
jupytext.vim
Our great sponsors
gnuplotlib | jupytext.vim | |
---|---|---|
10 | 4 | |
242 | 294 | |
- | - | |
6.4 | 4.4 | |
2 months ago | 7 months ago | |
Python | Vim Script | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gnuplotlib
-
Gnuplotlib: Non-Painful Plotting for NumPy
Looks great, minor API usability note: I don't know if there is an official convention but when naming an object that has the potential of overriding a builtin, rather than prepending with an underscore, e.g. `_with`, one does append to it: `with_`. The former is used and recognised for unused variables.
> _with is a curve option that indicates how this dataset should be plotted. It’s _with and not with because the latter is a built-in keyword in Python. [1]
- [1] https://github.com/dkogan/gnuplotlib/blob/master/guide/guide...
- gnuplotlib: numpy plotting with gnuplot
- Gnuplotlib: Gnuplot-Based Plotting for NumPy
- UnicodePlots
- Gnuplotlib: NumPy Plotting with Gnuplot
- Matplotlib Gallery
- gnuplotlib: a gnuplot-based plotting library for numpy
- Plotext – Python Plotting on the Terminal
- Nbterm: Jupyter Notebooks in the Terminal
jupytext.vim
-
Edit notebooks in Google cloud
I tried plugins like jupytext.vim but it was not enough mature in these old times :-)
-
Jupyter Notebooks in NeoVim. Any good way?
You can also use jupytext.vim to easily open and edit notebooks. Then you can use a REPL program to evaluate the different cells individually. The only downside to me is that you can’t save the output back to the notebook (images etc.).
-
jupyter and vim
Editing *.ipynb files can also be edited with jupytext.vim, which automatically converts *.ipynb files using jupytext which you open them in Vim. I haven't tried this yet (it's on my todo list), but it looks pretty solid.
-
Nbterm: Jupyter Notebooks in the Terminal
For editing notebooks in vim, I've created https://github.com/goerz/jupytext.vim. Note that this does not allow to run any cells, it just edits the inputs.
The motivation behind this was to have some basic interaction with existing ipynb files on a remote server without having to run the jupyter server (and set up port forwarding etc.) It's worth noting that the `jupytext.vim plugin is most useful if you're actually not running `jupytext` within jupyter; If you are, you could just directly open the .py or .md files linked to any .ipynb in your editor.
I've used `jupytext.vim` to edit existing notebooks and then run them through `jupyter nbconvert --to notebook --execute`. It's also great for refactoring: moving code from a notebook files into a module, between notebooks, or to create a new notebook as a variation of an existing one.
What are some alternatives?
plotext - plotting on terminal
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
jupyter-vim - Make Vim talk to Jupyter kernels
uniplot - Lightweight plotting to the terminal. 4x resolution via Unicode.
nbterm - Jupyter Notebooks in the terminal.
jupyter - An interface to communicate with Jupyter kernels.
UnicodePlots.jl - Unicode-based scientific plotting for working in the terminal
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
nvim-ipy - IPython/Jupyter plugin for Neovim