On Tue, Oct 19, 2021 at 7:26 AM <hongyi.z...@gmail.com> wrote:

> I've written the following python code snippet in pycharm:
> ```python
> import numpy as np
> from numpy import pi, sin
>
> a = np.array([1], dtype=bool)
> if np.in|vert(a) == ~a:
> print('ok')
> ```
> When putting the point/cursor in the above code snippet at the position
> denoted by `|`, I would like to see information similar to that provided by
> `pycharm`, as shown in the following screenshots:
>

Hi,

Could you explain exactly what you're asking about? Are you using pycharm,
but want to see similar tooltips with your custom (non-numpy-library) code?
Or do you want to see these numpy hints outside pycharm? If the latter,
what kind of IDE do you mean?

AndrĂ¡s


>
> https://user-images.githubusercontent.com/11155854/137619512-674e0eda-7564-4e76-af86-04a194ebeb8e.png
>
> https://user-images.githubusercontent.com/11155854/137619524-a0b584a3-1627-4612-ab1f-05ec1af67d55.png
>
> But I wonder if there are any other python packages/tools that can help me
> achieve this goal?
>
> Regards,
> HZ
> _______________________________________________
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: deak.and...@gmail.com
>
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to