Raising ValueError when xlim and ylim contain non-int and non-float dtype elements
- [x] closes #40781 
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry

> pushed new changes addressing previous comments

Can you please add tests which hit the added code? > > pushed new changes addressing previous comments
> 
> Can you please add tests which hit the added code?

I am not sure how to do that, I tested using an arbitrary dataset I created. Could you link me a documentation to pandas standard? > > > pushed new changes addressing previous comments
> > 
> > 
> > Can you please add tests which hit the added code?
> 
> I am not sure how to do that, I tested using an arbitrary dataset I created. Could you link me a documentation to pandas standard?

This guide is extremely useful, please feel free to ask ask any questions that come up when reading it! https://pandas.pydata.org/docs/development/contributing.html

Also the precommit section will be useful, since that is currently failing on this pr. Outside of the guide, looking at some tests in `pandas/tests/plotting` can give an idea of testing style > Outside of the guide, looking at some tests in `pandas/tests/plotting` can give an idea of testing style

I did my best effort on writing the tests for individual cases. But it seems to have failed on CI, I would love a recommendation on this part too.  @regmibijay can you merge master to resolve conflicts @regmibijay if you want to merge master can revive this I will revive and work on this thread again, which release should I target it for 1.3.x or 1.4.x? 1.4.0. 1.3 has already been released.  if you can merge master and update to comments moved to #43932 because of merge complications