[Matplotlib-users] getting access to the TextBox widget in matplotlib 2.2.2

Eric Firing efiring at hawaii.edu
Tue Jul 17 02:45:16 EDT 2018


I think you should be able to do a simple "pip3 install matplotlib", 
which should put it /usr/local.  (Or you can use pip3 to install in a 
subdirectory of your home directory if you prefer.)

My top recommendation, though, would be to install miniconda (or 
Anaconda) in your home directory.  That's the easiest way to work with 
up-to-date python packages.  It also makes it easy to have different 
environments with different versions, so, for example, you can try out a 
new version of a package without disturbing your main environment.  I 
have found conda environments much easier to work with than those 
created with virtualenv.  Conda provides not just the python packages, 
but also version-critical non-python libraries that python packages 
depend on.


On 2018/07/16 6:41 PM, Dan Hitt wrote:
> matplotlib version 2.2.2 has a TextBox widget (defined in matplotlib.widgets).
> I would kind of like to use it, as the matplotlib.widgets have a good,
> convenient interface.
> On the other hand, my OS is debian stretch, and the matplotlib that
> comes iwth it is version 2.0.0.
> So i'm wondering what my options are.
> I could try to update the OS, to debian buster, which 2.2.2, but
> that's a very big ordeal.
> Or i could try to build python from source, in my home directory, and
> refer to it by a different name, but i suppose i'd also need to build
> numpy, matplotlib, and any other extras.  (The ./configure --help for
> python 3.7 makes no mention of numpy or matplotlib, so i suppose i
> would also have to track down sources for these.)
> Maybe i could do something with pip3, but i'd have to hoke it up
> somehow so that it would not interfere with the debian pip3.
> Or maybe there's some form of TextBox which has been backported to
> matplotlib 2.0.0?
> Maybe there's something else i could do?
> TIA for any advice.
> dan
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users

More information about the Matplotlib-users mailing list