Tom Breloff

Results 158 comments of Tom Breloff

Just for the record, I have this exact same issue. This crashes (normal Conda.jl install): ``` using PyPlot plot(rand(10)) ``` This works: ``` using PyCall pygui(:tk) using PyPlot plot(rand(10)) ```...

> the default backend is tk, so doesn't this only affect people if they (a) have the newer qt and (b) specify the qt backend in their .matplotlibrc? I'm not...

Sorry for the delayed response, Scott. I come from the perspective where there are a few very common things to do, and those should be as easy as possible: -...

I agree that the major functionality is already there... this RFC is just to specify a nicer way to call it. Remember that the `@sprintf` macro exists for speed... the...

Actually the memoization already happens (see `generate_formatter`), so it would only involve adding some additional method signatures to simplify calling for common use-cases.

Yes I can do some of this, however my use-case is limited to technical applications in the US. Maybe I'll fork and make a first pass at this, then ask...

My goal is to be as julian as possible. I only really care about the `fmt` method, however sometimes c-style and python-style formatting have their place. Both `cfmt` and `pfmt`...

Also regarding the existence of `fmt`... there are enough breaking changes flowing through Julia that it's not that big a deal for users to find/replace all calls to `fmt` with...

Agreed... I would like the option of doing something like: ``` default_width!(10) # change the default width v = rand(10) strs = fmt(v) # Vector of strings... all length 10....

Ok I threw together a preview in my fork: https://github.com/tbreloff/Formatting.jl/tree/tom_fmt This doesn't touch the python formatting or formatting more complex strings... it's only for formatting individual values right now. Here's...