Giter Club home page Giter Club logo

linked-scatterplot-table-download-poc's Introduction

Jacob Deppen

Twitter Follow

LinkedIn

I was trained as an archaeologist but found my passion in data science. Here are some things I like and the public repos to prove it. You can read more details on everything at deppen8.github.io.

Building open source tools to enable data science and research

pandas-vet Flake8 linter plug-in badge GitHub stars PyPI PyPI - Downloads Conda Version Conda Downloads

prospect Python package badge PyPI PyPI - Downloads Conda Version Conda Downloads

leiap Python package badge docs_badge

HTCondor Submission Creator badge

Data visualization and communication

BBHOFviz badge

Husky Altair theme badge Binder

TremorViz ghw_badge badge

Community, teaching, and learning

Documenting your code: from docstrings to automated builds @ PyCon US 2022 tutorial YouTube

Sprints - Let's Do More of Those! @ PyGotham 2019 YouTube

SciPy Conference 2021 - Sprints Co-chair

Puget Sound Python (PuPPy) Meetup - Scientific Computing SIG (co-organizer) Meetup

pandas in black and white badge site_badge

Certified Software Carpentry Instructor

linked-scatterplot-table-download-poc's People

Contributors

deppen8 avatar

Watchers

 avatar  avatar

linked-scatterplot-table-download-poc's Issues

update table when resetting to all points selected

Hi, I've been looking for code like this for a while now - thanks for sharing! I am adapting this for a standalone bokeh html file. When I un-select a subset of points so the graph goes back to "all" points, the cb_obj.indices is an empty list. So I updated the source1.selected.js_on_change callback like so:

for (var i = 0; i < inds.length; i++) {
  d2['x'].push(d1['x'][inds[i]])
  d2['y'].push(d1['y'][inds[i]])
  d2['label'].push(d1['label'][inds[i]])
}

becomes

if (inds.length==0) {
  for (var i = 0; i < d1['x'].length; i++) {
    d2['x'].push(d1['x'][i])
    d2['y'].push(d1['y'][i])
    d2['label'].push(d1['label'][i])
  }
} else {
  for (var i = 0; i < inds.length; i++) {
    d2['x'].push(d1['x'][inds[i]])
    d2['y'].push(d1['y'][inds[i]])
    d2['label'].push(d1['label'][inds[i]])
  }
}

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.