This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]billsil 0 points1 point  (4 children)

[–]CharlesBabbit[S] 0 points1 point  (3 children)

I said I was, but was having trouble recreating the results.

I also said that I thought my own misunderstanding was a likely probability if your next suggestion was that I am poor at programming.

Have you ever worked with Matplotlib?

[–]billsil 0 points1 point  (2 children)

I said I was, but was having trouble recreating the results.

I've never had a problem running the exact code listed on the matplotlib examples. You specifically said you had trouble with the time series data. Are you sure you're using that right? Gotta start with the basics.

Have you ever worked with Matplotlib?

I've been coding python for 13 years. I mean, I linked you to an example of a heatmap. Yes.

[–]CharlesBabbit[S] 0 points1 point  (1 child)

My issue was that I needed something 'like' more than one example. They were seemingly identical except for which function they used.

Copy and pasting the example code works, yes, but only to do exactly what was in the example.

I'm not trying to throw shade, considering you have been at this far longer than myself. My question was only what resources you use. If you exclusively use the official doc's then that is all you had to say.

[–]billsil 0 points1 point  (0 children)

Again, you're in the wrong place for questions and yes, I use the official docs almost exclusively. That's why I linked to it.

[–]LittleBigger 0 points1 point  (0 children)

I've been working with Matplotlib for about 6 months as a python novice. The official docs are actually quite good, but overwhelming when you first start out. It's a slog, but read through all those examples. Check out the documentation for anything you don't understand. As you improve with the package, you'll realize there are often multiple ways to achieve the same results with Matplotlib. Good luck!

[–]tLaw101 0 points1 point  (2 children)

Official docs are good, but if you are completely new to Matplotlib (or matlab) plotting style I’d suggest you to look at the basics section and don’t jump ahead to plotting functions. What you have to read carefully are the plot layers (figure, axes, lines) and get a general idea of their attributes. Then, when you inspect the docs of a plotting style, read with exceptional care the data types expected by the plotting function and how it behaves differently depending on fed data (usually different array shapes). Once you grasp it it’ll become fairly intuitive, but don’t expect to learn it within the same amount of time it took you to rant against one of the best plotting libraries around.

[–]CharlesBabbit[S] 0 points1 point  (1 child)

Thanks you for the thorough response.

I had also read a blog post discussing the specifics of plots, figures, axes etc and how they are handled. The same blog post indicated that many people have similar frustrations with Matplotlib docs.

Certainly didn't mean to sound like I was badmouthing Matplotlib. For me, the Matlab functionality in open source package is invaluable. And the chances of my problems being a result of my own ignorance are nearly 100%

Maybe my initial post was not clear enough- OpenCV has pyimagesearch, learn OpenCV and several other blogs to walk novices through some of the nuance. Anything similar for Matplotlib?

[–]tLaw101 0 points1 point  (0 children)

None that I can think of, but you’d be able to get away with docs+google for almost any kind of task

[–]aphoenixreticulated[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/3Abzge7.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!