I was able to reproduce the problem on one computer while it works well on another.
Can you try if it works well if you
- open a terminal window where
Slicer.exe
is located - type
set SLICER_OPENGL_PROFILE=core
- type
Slicer.exe
to start the application
Copy-paste this to the Python console:
import SampleData
import numpy as np
volumeNode = SampleData.SampleDataLogic().downloadMRHead()
histogram = np.histogram(arrayFromVolume(volumeNode), bins=50)
chartNode = slicer.util.plot(histogram, xColumnIndex = 1)
chartNode.SetYAxisRangeAuto(False)
chartNode.SetYAxisRange(0, 4e5)
chartNode.GetNthPlotSeriesNode(0).SetMarkerStyle(slicer.vtkMRMLPlotSeriesNode.MarkerStyleCircle)
chartNode.GetNthPlotSeriesNode(0).SetMarkerSize(15)
You may also try updating your graphics card drivers. What graphics card and driver version do you use?