Spyder 4.0.0 Tool Tips

12-27-2019 07:42 AM
MVP Esteemed Contributor

Having just upgraded to Pro 2.4.3 and then adding the Spyder 4.0.0 package, I was overwhelmed with tool tip windows while writing code in Spyder.  From this stack overflow post, here's how to suppress them if you too find them a little too helpful as I have....

 You need to go to the menu

Tools > Preferences > Completion and linting > Introspection

and deactivate the option called Enable hover hints.

That should just about do it....
Tags (2)
0 Kudos
1 Reply
MVP Esteemed Contributor

A couple of other tricks

1.  just give the mouse a quick 1 mm up stroke and the tool tip goes away

2.  If you don't want to read in the tooltip,  just click in the tooltip and it goes away, putting the help topic in the help area!  No more querying and dir-ing and help-ing to find out about stuff.

3   Don't hover

Need more help and even code??

Some modules and functions are well documented and provide losts of information

import numpy


Type:        module
String form: <module 'numpy' from 'C:\\arc_pro\\bin\\Python\\envs\\arcgispro-py3\\lib\\site-packages\\numpy\\__init__.py'>
File:        c:\arc_pro\bin\python\envs\arcgispro-py3\lib\site-packages\numpy\__init__.py

  1. An array object of arbitrary homogeneous items
  2. Fast mathematical operations over arrays
  3. Linear Algebra, Fourier Transforms, Random Number Generation

How to use the documentation

............. huge snip.///‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

Others less so

Call signature: arcpy.da.FeatureClassToNumPyArray(*args, **kwargs)
Type:           funcInfo
String form:    <da.funcInfo object at 0x000002670557C738>
FeatureClassToNumPyArray(in_table, field_names, where_clause=None, spatial_reference=None, explode_to_points=False, skip_nulls=False, null_value=None, sql_clause=(None, None)) -> numpy.array

Load and return NumPyArray record object.

# sadly.... not snip‍‍‍‍‍‍‍‍‍‍
0 Kudos