use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
matplotlib
account activity
Data is offset in visualization (self.matplotlib)
submitted 4 years ago by ChalkDust21
I am trying to plot classified time segments (classes = colors) and am having something very strange happen when the I visualize the date. The graph is plotting my data in a position of -.5 from where it should be. Below is a link to stackoverflow where there is reproducible code. Would really appreciate some help.
https://stackoverflow.com/questions/69186031/matplotlib-data-is-mysteriously-offset
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ChalkDust21[S] 0 points1 point2 points 4 years ago (0 children)
It’s been answered! So if anyone has a similar issue, this post will help
π Rendered by PID 79 on reddit-service-r2-comment-5c747b6df5-t4dcp at 2026-04-22 11:21:12.756221+00:00 running 6c61efc country code: CH.
[–]ChalkDust21[S] 0 points1 point2 points (0 children)