Skip to content

Conversation

@Didou09
Copy link
Member

@Didou09 Didou09 commented Feb 28, 2025

Main changes:

  • get_color_touch() implemented

Issues:

Fixes, in devel, issue #194

Examples:

coll = ds.DataStock()

aa = np.exp(-(np.arange(50)[:, None]-25)**2/10**2 - (np.arange(50)[None, :]-25)**2/10**2)

dcolor = coll.get_color_touch(aa, dcolor={'foo': {'ind': (aa>0.3) & (np.arange(50)[None, :] > 25), 'color': 'r'}})

dcolor['meaning']
Out[60]: {(1.0, 0.0, 0.0): ['foo']}

image

@Didou09 Didou09 merged commit f447434 into devel Feb 28, 2025
12 checks passed
@Didou09 Didou09 deleted the Issue194_color_touch branch February 28, 2025 20:50
@Didou09 Didou09 mentioned this pull request Mar 7, 2025
@Didou09 Didou09 changed the title [#194] Operational [#194] get_color_touch() Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants