Developing "Spartan"

It's definitely a bag of dicks. Most of the things I've encountered in Qt are not intuitive at all and you have a mixture of deprecated and non-deprecated calls which are not obvious. Qt people aren't really from a financial background either, a simple QDateTime axis seems to plot everything, including the weekends when there are no data points on the input (so you have gaps on the x axis). Why? I have no idea.

To be fair, matplotlib does that as well but it's dumb easy to get around it:

Code:
plt.xticks(x.index)
plt.plot(x.close.values)

With Qt Charts, you have to pray to God your chart doesn't go blank with the latest changes.
 
When I was using qt "back in the day", I used it with c++, not python. QCustomPlot was the Real time plotting library I used. It worked very well.
 
When I was using qt "back in the day", I used it with c++, not python. QCustomPlot was the Real time plotting library I used. It worked very well.

That reminds me, you can use matplotlib in Qt as well through one of the agg backends. But don't use it for streaming, too slow.
 
I guess you get out of the market exactly what you want.
So now I want 8 figures. Will figure it out.
Well brother, I hope you get that 8 figures. The remorse of not putting your nuts on the chopping block, is worse than losing everything, in my view. Good luck to you. I'll be on a tech detox, and serving business purpose only, hopefully for good.
 
To be fair, matplotlib does that as well but it's dumb easy to get around it:

Code:
plt.xticks(x.index)
plt.plot(x.close.values)

With Qt Charts, you have to pray to God your chart doesn't go blank with the latest changes.

Matplotlib I've found to be otherwise complicated and unintuitive, I've yet to find a way to format y-axis values with subplot2grid. The system config call that should take care of it goes ignored, most likely a bug.
 
Matplotlib I've found to be otherwise complicated and unintuitive, I've yet to find a way to format y-axis values with subplot2grid. The system config call that should take care of it goes ignored, most likely a bug.

For matplotlib, stay away from everything that is slightly complicated when it comes to layout. The most complex I'll get is using plt.subplots().

That being said, you can always iterate through axes by using fig.get_axes. Surely you can hack your way through it here.
 
It's funny to see you guys talk about various plot programs. I write my software in Java and thus have to use JfreeChart for plotting graphs. Talking about a complicated program ....
 
Back
Top