3
$\begingroup$

I am using Mathematica 13.3.1.0. version on MacBook M2 and there are some issues with dynamic updating. When I disable it I get a strange grey square in the center of the plot. enter image description here

When I enable it It disappears but I have annoying plot highlighting which slows down my other parts of the code if I accidentally touch the curve with the cursor. enter image description here

Is there some way to get rid of the grey square or disable plot highlighting in the settings?

$\endgroup$
6
  • 4
    $\begingroup$ Use the option PlotHighlighting -> None $\endgroup$
    – Bob Hanlon
    Nov 22, 2023 at 3:22
  • $\begingroup$ but is there a way to do it for all plots in settings so that I didn’t type it everytime I plot something? $\endgroup$ Nov 22, 2023 at 4:41
  • 1
    $\begingroup$ Please don't use the bugs tag when asking a question. As per the bugs wiki: "This tag is reserved for questions where the problem has been vetted by this community and the observed behavior is confirmed to be a bug. Please do not use this tag for new questions. Please use the standard bugs header instead of version tags in conjunction with this tag." $\endgroup$
    – march
    Nov 22, 2023 at 4:52
  • $\begingroup$ Put SetOptions[Plot, PlotHighlighting -> None] in an [init.m] (reference.wolfram.com/language/ref/file/init.m.html) file $\endgroup$
    – Bob Hanlon
    Nov 22, 2023 at 5:11
  • $\begingroup$ This looks like the same bug as I reported to Wolfram see here $\endgroup$
    – Hugh
    Nov 22, 2023 at 8:38

1 Answer 1

4
$\begingroup$

You can set

Charting`$InteractiveHighlighting = False;

Subsequent plots will be generated without the interactive highlighting. You can put the line in init.m if you want the change to be permanent. Or you can put it in an initialization cell in a notebook; note that when it is executed, it turns off the highlighting for the kernel session (unless it gets reset to Charting`$InteractiveHighlighting = True).

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.