Group Abstract Group Abstract

Message Boards Message Boards

0
|
181 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

How can I remove Tooltips from a list of values?

Posted 1 month ago
2 Replies

Does this do what you need done?:

new = con /. Tooltip[val_,tip_] :> val;

Inspect the first elements and compare:

con[[1]] // FullForm
new[[1]] // FullForm
(*
List[
  Rule[Tooltip[101,"Tijuana"], 
       Tooltip["EUA02","Tijuana River"]],
  Rule[Tooltip["EUA01","R\[IAcute]o Unanua, arroyo Alamar, otros"], 
       Tooltip[101,"Tijuana"]]
  ]

List[Rule[101,"EUA02"], Rule["EUA01",101]]
*)
POSTED BY: Michael Rogers

Thank you Michael. Yes, it works!

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard