Hot answers tagged

3

Use the (undocumented, afaik) options "TicksStyle" and "FrameStyle": BarLegend[{"SunsetColors", {0, 1}}, LabelStyle -> {FontSize -> 12}, "TicksStyle" -> Directive[Red, AbsoluteThickness[5]], "FrameStyle" -> Opacity[0]] In version 10, we need to add Opacity[1] in Directive[...]: BarLegend[{"SunsetColors", {0, 1}}, LabelStyle -> ...


2

Analysis (Observations in 10.1.0 under Windows.) Curiously it seems that AbsoluteThickness[0.2`] is hard-coded within the internal definitions. Formatting of BarLegend calls Charting`iBarLegend which calls Legending`LegendDump`iColorGradientLegend or Legending`LegendDump`iColorBandLegend. In the definition of iColorGradientLegend we find: ticksstyle = ...



Only top voted, non community-wiki answers of a minimum length are eligible