{
  "id": 202346,
  "title": "Datetime Axis limit",
  "url": "/competitions/3d-object-detection-for-autonomous-vehicles/discussion/202346",
  "author_name": "Abidur Komol",
  "post_date": "2020-12-09T14:36:31.663000",
  "votes": 1,
  "comment_count": 0,
  "views": 0,
  "content": "<p>I have a dataset where 'dmy' column contains date and 'data' column contains corresponding continuous value. I want to plot these two columns where x-axis represents the 'dmy' column and the y-axis represents the 'data' column. I want to limit the x-axis. for that I used the code:<br>\nax.set_xlim([datetime(2020,1,10), datetime(2020,4,12)] but it didn't work out. Also, I want to tick the x-axis like it will label the x-axis after a time interval (say 5 days). How I can do both of this?</p>",
  "messages": [
    {
      "id": 1107260,
      "postDate": "2020-12-09T14:36:31.663Z",
      "content": "<p>I have a dataset where 'dmy' column contains date and 'data' column contains corresponding continuous value. I want to plot these two columns where x-axis represents the 'dmy' column and the y-axis represents the 'data' column. I want to limit the x-axis. for that I used the code:<br>\nax.set_xlim([datetime(2020,1,10), datetime(2020,4,12)] but it didn't work out. Also, I want to tick the x-axis like it will label the x-axis after a time interval (say 5 days). How I can do both of this?</p>",
      "rawMarkdown": "I have a dataset where 'dmy' column contains date and 'data' column contains corresponding continuous value. I want to plot these two columns where x-axis represents the 'dmy' column and the y-axis represents the 'data' column. I want to limit the x-axis. for that I used the code:\nax.set_xlim([datetime(2020,1,10), datetime(2020,4,12)] but it didn't work out. Also, I want to tick the x-axis like it will label the x-axis after a time interval (say 5 days). How I can do both of this?",
      "votes": 1
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1107260": "I have a dataset where 'dmy' column contains date and 'data' column contains corresponding continuous value. I want to plot these two columns where x-axis represents the 'dmy' column and the y-axis represents the 'data' column. I want to limit the x-axis. for that I used the code:\nax.set_xlim([datetime(2020,1,10), datetime(2020,4,12)] but it didn't work out. Also, I want to tick the x-axis like it will label the x-axis after a time interval (say 5 days). How I can do both of this?"
  }
}