html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/1435#issuecomment-1115543900,https://api.github.com/repos/pydata/xarray/issues/1435,1115543900,IC_kwDOAMm_X85Cfdlc,2448579,2022-05-03T01:56:36Z,2022-05-03T01:56:36Z,MEMBER,"This now raises TypeError. Upstream issue is https://github.com/matplotlib/matplotlib/issues/22105 ``` File ~/mambaforge/envs/dcpy/lib/python3.8/site-packages/matplotlib/axes/_base.py:2476, in _AxesBase.update_datalim(self, xys, updatex, updatey) 2458 """""" 2459 Extend the `~.Axes.dataLim` Bbox to include the given points. 2460 (...) 2473 Whether to update the x/y limits. 2474 """""" 2475 xys = np.asarray(xys) -> 2476 if not np.any(np.isfinite(xys)): 2477 return 2478 self.dataLim.update_from_data_xy(xys, self.ignore_existing_data_limits, 2479 updatex=updatex, updatey=updatey) TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,232623945 https://github.com/pydata/xarray/issues/1435#issuecomment-1115469340,https://api.github.com/repos/pydata/xarray/issues/1435,1115469340,IC_kwDOAMm_X85CfLYc,26384082,2022-05-02T23:37:48Z,2022-05-02T23:37:48Z,NONE,"In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here or remove the `stale` label; otherwise it will be marked as closed automatically ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,232623945 https://github.com/pydata/xarray/issues/1435#issuecomment-610341554,https://api.github.com/repos/pydata/xarray/issues/1435,610341554,MDEyOklzc3VlQ29tbWVudDYxMDM0MTU1NA==,14808389,2020-04-07T11:51:03Z,2020-04-07T11:51:03Z,MEMBER,this is still an issue,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,232623945 https://github.com/pydata/xarray/issues/1435#issuecomment-596191635,https://api.github.com/repos/pydata/xarray/issues/1435,596191635,MDEyOklzc3VlQ29tbWVudDU5NjE5MTYzNQ==,26384082,2020-03-08T10:50:16Z,2020-03-08T10:50:16Z,NONE,"In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here or remove the `stale` label; otherwise it will be marked as closed automatically ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,232623945 https://github.com/pydata/xarray/issues/1435#issuecomment-379537782,https://api.github.com/repos/pydata/xarray/issues/1435,379537782,MDEyOklzc3VlQ29tbWVudDM3OTUzNzc4Mg==,1841954,2018-04-08T10:04:11Z,2018-04-08T10:04:11Z,NONE,"Maybe not related at all, maybe it helps. I am getting the same error for a different backend. https://github.com/matplotlib/matplotlib/issues/10617","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,232623945 https://github.com/pydata/xarray/issues/1435#issuecomment-305245868,https://api.github.com/repos/pydata/xarray/issues/1435,305245868,MDEyOklzc3VlQ29tbWVudDMwNTI0NTg2OA==,1217238,2017-05-31T16:41:50Z,2017-05-31T16:41:50Z,MEMBER,"I get a different error when I try this in a notebook (using matplotlib 1.5.x): ``` Error in callback (for post_execute): --------------------------------------------------------------------------- ValueError Traceback (most recent call last) .../matplotlib/pyplot.py in post_execute() 145 def post_execute(): 146 if matplotlib.is_interactive(): --> 147 draw_all() 148 149 # IPython >= 2 .../matplotlib/_pylab_helpers.py in draw_all(cls, force) 148 for f_mgr in cls.get_all_fig_managers(): 149 if force or f_mgr.canvas.figure.stale: --> 150 f_mgr.canvas.draw_idle() 151 152 atexit.register(Gcf.destroy_all) .../matplotlib/backend_bases.py in draw_idle(self, *args, **kwargs) 2024 if not self._is_idle_drawing: 2025 with self._idle_draw_cntx(): -> 2026 self.draw(*args, **kwargs) 2027 2028 def draw_cursor(self, event): .../matplotlib/backends/backend_agg.py in draw(self) 472 473 try: --> 474 self.figure.draw(self.renderer) 475 finally: 476 RendererAgg.lock.release() .../matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 60 def draw_wrapper(artist, renderer, *args, **kwargs): 61 before(artist, renderer) ---> 62 draw(artist, renderer, *args, **kwargs) 63 after(artist, renderer) 64 .../matplotlib/figure.py in draw(self, renderer) 1157 dsu.sort(key=itemgetter(0)) 1158 for zorder, a, func, args in dsu: -> 1159 func(*args) 1160 1161 renderer.close_group('figure') .../matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 60 def draw_wrapper(artist, renderer, *args, **kwargs): 61 before(artist, renderer) ---> 62 draw(artist, renderer, *args, **kwargs) 63 after(artist, renderer) 64 .../matplotlib/axes/_base.py in draw(self, renderer, inframe) 2317 2318 for zorder, a in dsu: -> 2319 a.draw(renderer) 2320 2321 renderer.close_group('axes') .../matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 60 def draw_wrapper(artist, renderer, *args, **kwargs): 61 before(artist, renderer) ---> 62 draw(artist, renderer, *args, **kwargs) 63 after(artist, renderer) 64 .../matplotlib/image.py in draw(self, renderer, *args, **kwargs) 387 "" correctly with this backend."") 388 --> 389 im = self.make_image(renderer.get_image_magnification()) 390 if im is None: 391 return .../matplotlib/image.py in make_image(self, magnification) 612 trans = self.get_transform() 613 xy = trans.transform(np.array([(x1, y1), --> 614 (x2, y2), 615 ])) 616 _x1, _y1 = xy[0] .../matplotlib/transforms.py in transform(self, values) 1311 1312 # Transform the values -> 1313 res = self.transform_affine(self.transform_non_affine(values)) 1314 1315 # Convert the result back to the shape of the input values. .../matplotlib/transforms.py in transform_affine(self, points) 2348 2349 def transform_affine(self, points): -> 2350 return self.get_affine().transform(points) 2351 transform_affine.__doc__ = Transform.transform_affine.__doc__ 2352 .../matplotlib/transforms.py in transform(self, values) 1663 1664 def transform(self, values): -> 1665 return self.transform_affine(values) 1666 transform.__doc__ = Transform.transform.__doc__ 1667 .../matplotlib/transforms.py in transform_affine(self, points) 1747 tpoints = affine_transform(points.data, mtx) 1748 return ma.MaskedArray(tpoints, mask=ma.getmask(points)) -> 1749 return affine_transform(points, mtx) 1750 1751 def transform_point(self, point): ValueError: object too deep for desired array ``` Certainly fixes would be welcome here, though it might be somewhat involved -- and might possibly require upstream fixes in matplotlib (I'm really not sure).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,232623945