7
$\begingroup$

Bug introduced in 11.1.0 and fixed in 11.1.1


When an opacity option is added to 3D graphics, the axis labels go wrong, in such a way that the notebook's background colour (which can be user-defined) is used as the background colour of the label text, as shown below.

SetOptions[EvaluationNotebook[], Background -> RGBColor[0.058, 0.215, 0.262]]; 
Graphics3D[{Opacity[0.1], Cylinder[]}, Axes -> True, Background -> White]

It seems that the background colour of the whole graphics is not transferred to that of the labels.

erroneous label background colour

In[1]:= $Version
Out[1]= 11.1.0 for Microsoft Windows (64-bit) (March 13, 2017)  

Operating system: Windows 7.

(To change the background colour of notebooks, one can go to the Options Inspector: Options Inspector -> Notebooks Options -> Display Options -> Background : RGBColor[0.058, 0.215, 0.262])

In addition, what options can be added to the plot to serve as a temporary fix of it?

$\endgroup$
13
  • 2
    $\begingroup$ Please do not use bugs until it is a confirmed bug. How is that background specified exactly? $\endgroup$
    – Kuba
    Mar 19, 2017 at 10:58
  • 1
    $\begingroup$ I cannot reproduce it on OS X, 11.1.0. With problems like this, be sure to always add full version and OS information within the post itself (not comments). Please also choose a descriptive title. $\endgroup$
    – Szabolcs
    Mar 19, 2017 at 11:07
  • 2
    $\begingroup$ I can reproduce it on V11.1 Win10 and not on V11.0.1 so something changed. Maybe some style settings (it may be tricky to detect from where 3d graphics ticks labels are inheriting from) or it is a bug, I'd try to contact WRI Support. $\endgroup$
    – Kuba
    Mar 19, 2017 at 11:10
  • 1
    $\begingroup$ I can't reproduce this with version 11.1.0 on Windows 7 x64. Probably it depends on the graphics hardware installed. $\endgroup$ Mar 21, 2017 at 6:18
  • 2
    $\begingroup$ Yes, with Background->White I reproduce the bug with version 11.1.0: SetOptions[EvaluationNotebook[], Background -> RGBColor[0.058, 0.215, 0.262]]; Graphics3D[{Opacity[0.1], Cylinder[]}, Axes -> True, Background -> White]. In version 11.0.1 the bug is absent. Please report it to the tech support. $\endgroup$ Mar 22, 2017 at 9:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.