Code Monkey home page Code Monkey logo

Comments (6)

WillAyd avatar WillAyd commented on June 16, 2024 1

I didn't go through every backend but from sampling I could only get hvplot and plotly to work as a backend argument. And as mentioned before seems like pandas_bokeh has that intention but is broken.

I do not find the maintenance of specifying which packages support the backend concerning at all.

Its not the most important thing to solve, but its unfortunate we offer that without any integration testing. Maybe worth a separate initiative to add tests for at least plotly

from pandas.

WillAyd avatar WillAyd commented on June 16, 2024

FWIW pandas_bokeh throws an entirely different error when you use that as a backend:

AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width

from pandas.

rhshadrach avatar rhshadrach commented on June 16, 2024

Going forward we could also make it a requirement for libraries to implement the backend to land on the ecosystem page

This sounds like a high bar for being on the ecosystem page compared to where I think the bar has been in past discussions.

What do you think of just putting (with some kind of color / bold highlighting) something like

This package implements the pandas backend and can be used with pandas plotting methods [see here]
This package does not implement the pandas backend and cannot be used with pandas plotting methods

from pandas.

WillAyd avatar WillAyd commented on June 16, 2024

Sure sounds good too. Open to anything that makes it clearer - right now it's pretty challenging to understand how the backend argument for plots works and which libraries even should support it.

I suppose could also question if we really need the backend argument for plots. I am under the impression that seaborn is one of the larger libraries, and people would just use that API directly.

from pandas.

Aloqeely avatar Aloqeely commented on June 16, 2024

What do you think of just putting (with some kind of color / bold highlighting) something like

This package implements the pandas backend and can be used with pandas plotting methods [see here]
This package does not implement the pandas backend and cannot be used with pandas plotting methods

But this will increase the maintenance burden of the ecosystem page, will we be checking whether each package implements the plotting backend every X period? And will we be checking which code samples run correctly and which libraries even work? The impression I get is that the page is community maintained.

As Mr. Ayd said, we should probably remove the backend argument. We could also stop linking to the ecosystem page in the plotting-backends doc, but then how will people know what to pass to the backend argument? So the better idea is to remove it.

from pandas.

rhshadrach avatar rhshadrach commented on June 16, 2024

As Mr. Ayd said, we should probably remove the backend argument.

I'm quite negative here, being able to use the plotly backend is a good feature in my opinion, and one we should not remove.

I do not find the maintenance of specifying which packages support the backend concerning at all.

from pandas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.