PyPlot in Julia: Thousands Separator

Anyone know how to translate this suggestion to julia:

It’s something like:

ax[:xaxis][:set_major_formatter](matplotlib[:ticker][:FuncFormatter](lambda x, loc: "{:,}"format(int(x))))

But don’t think the anonymous function bit works with julia syntax.

Just use an julia anonymous function. We don’t have a builtin function for seperator but should.

1 Like

thanks, though not clear to me how a julia anon function would work with the lambda key used in pyplot here. Any suggestions welcome…