Is there a way to change the coloring of the boxes that are generated by Animate or Manipulate? The color of what is gray by default.
Animate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0,
255, 1}, AnimationRunning -> False]
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityIs there a way to change the coloring of the boxes that are generated by Animate or Manipulate? The color of what is gray by default.
Animate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0,
255, 1}, AnimationRunning -> False]
You can wrap Animate
and Manipulate
with Style
and set the DefaultOptions
for Panel
:
Style[#, DefaultOptions -> {Panel -> {Background -> LightBlue}}] & @
Animate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0, 255, 1},
AnimationRunning -> False]
Style[#, DefaultOptions -> {Panel -> {Background -> LightBlue}}] & @
Manipulate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n, 0, 255, 1}]
Mathematica | Preferences ... | Open Option Inspector
; withGlobal Preferences
search forpanel
, then selectFormatting Options | Expression Formatting | Controls Options | PanelBoxOptions | Background
and set to desired color. $\endgroup$ – Bob Hanlon Jul 14 '20 at 22:27