SourceForge logo
SourceForge logo
Menu

Re: [Matplotlib-users] Questions on a couple of what I suspect are standard matplotlib idioms

>>>>> "Kenneth" == Kenneth McDonald <kmm...@wi...> writes:
 Kenneth> Couldn't see the answers to these questions when looking
 Kenneth> through the class reference docs, but they seem like
 Kenneth> common tasks, so I suspect there are standard idiomatic
 Kenneth> way of doing these. Could anyone refer me to examples
 Kenneth> showing
Actually, neither of these exist in matplotlib-0.52, but see below.
 Kenneth> 1) How to most easily label the x axis for data which is
 Kenneth> plotted by date? (More specifically; does matplotlib have
 Kenneth> any understanding of date values, and if so, how do I
 Kenneth> access and use it?) I'm hoping there's an easier way than
 Kenneth> explicitly labelling ticks on the x axis.
Full date support in matplotlib-0.53. Release should be this
afternoon. The new examples will be examples/date_demo*.py.
 Kenneth> 2) I'll be drawing logy graphs, and I want a certain
 Kenneth> slope to indicate a certain rate of growth, which means
 Kenneth> that, when using matplotlib via TkAgg, I want it to keep
 Kenneth> the ratio of the graph display height and display width
 Kenneth> constant as it resizes the graph to take into account
 Kenneth> changes in the size of the enclosing window. Is there a
 Kenneth> standard way to do this?
This is a good idea but it's not implemented and should be. How do
you think the best way is to indicate a constrained resize? With a
modifier key held down during the resize?
JDH

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /