Grid of differently colored scatter plots

Plots.jl’s plotly() backend might be helpful to handle a large number of subplots. One example:

using Measures, Plots; plotly()

function grid_scatter(N,M)
    plotsize = (M*400,N*400)
    plts = [scatter(rand(10), xlabel="X-axis ($i)", ylabel="Y-axis ($i)", color=i,
        margin = 10mm, legend=false, plotsize=(400,400), label="plot#$i") for i in 1:N*M]
    plot(plts..., layout=(N,M), size=plotsize)


Fyi, a fraction of the scrollable html file created: