lib/rubyplot/artist/legend_box.rb
def configure_dimensions
        @legends_height = @axes.plots.size * per_legend_height
        @legends_width = 0.2 * @axes.width
        @height = @legends_height + top_margin + bottom_margin
        @width = @legends_width + left_margin + right_margin
      end
# Ratio of total height of legend box that is the top margin.
Ratio of total height of legend box that is the top margin.
Ratio of total height of legend box that is the top margin .
def configure_dimensions
        @legends_height = @axes.plots.size * per_legend_height
        @legends_width = 0.2 * @axes.width
        @height = @legends_height + top_margin + bottom_margin
        @width = @legends_width + left_margin + right_margin
      end
def configure_dimensions @legends_height = @axes . plots . size * per_legend_height @legends_width = 0.2 * @axes . width @height = @legends_height + top_margin + bottom_margin @width = @legends_width + left_margin + right_margin end
Ratio of total height of legend box that is the top margin.
Ratio of total height of legend box that is the top margin .