[AstroPy] how to mark spectral lines in matplotlib?
Miguel de Val-Borro
miguel.deval at gmail.com
Sun Dec 15 11:02:18 EST 2013
Hi Hang,
On Sun, Dec 15, 2013 at 11:52:24PM +0800, gonghang.naoc wrote:
> Hi,
> Thank you. The method 'annotate' works.
> I tried pip to install module lineid_plot but failed.
> My python environment is messed up now. I downloaded the tar.gz file
> lineid_plot-0.2.tar.gz ,then
> $python setup.py
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> or: setup.py --help [cmd1 cmd2 ...]
> or: setup.py --help-commands
> or: setup.py cmd --help
>
> error: no commands supplied
>
> However since 'annotate' works well, I will use this general way.
It looks like you also need to to provide the setup command, for
instance
python setup.py install
will build and install the module from the source code.
Regards,
Miguel
More information about the AstroPy
mailing list