Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt resolving conflicts in Pull 2911 #2

Closed

Conversation

archmoj
Copy link

@archmoj archmoj commented Aug 4, 2020

Added two commits to help resolve conflicts in plotly#2911

@jonmmease
cc: @plotly_js

archmoj and others added 30 commits May 2, 2020 01:50
Apply and ensure stroke event only to activate editable shapes
Fix react to plot_bgcolor changes
Handle rangebreak gaps in `candlestick` & `ohlc`
- remove duplicate points from heatmap mocks
Fix rangebreaks on heatmap with 2d z array
archmoj and others added 26 commits July 28, 2020 17:57
- support formatting options e.g. quarters, weeks and weekdays
- update description link to list various time format options
Upgrade d3 time format to expose new formatting options for weekdays, weeks and quarters
- and resolved conflicts in
- package.json
- src/lib/index.js
- src/lib/is_array.js
- src/plot_api/index.js
@jonmmease
Copy link
Owner

Thanks for resurrecting this @archmoj.

How do you and @alexcjohnson feel about including the Plotly.encode/Plotly.decode methods in Plotly.js at this point?

@jonmmease
Copy link
Owner

Something else I would want to add to the encoded representation would be a shape attribute that holds the shape of the input array:

Here is the interpretation I was picturing:

  • If shape is a scalar number, then decode into a TypedArray. This is the current behavior of the PR.
  • If shape is an array of N numbers, then decode into an N dimensional ndarray. Assume and document whatever winding order is most natural for use with ndarray library.

Then to make use of this in Plotly.js:

  • Update heatmap and image traces to accept 2D ndarrays.
  • Update isosurface and volume traces to accept 3D ndarrays.

@archmoj archmoj closed this Jun 26, 2021
@archmoj archmoj deleted the pull-2911_res-conflicts branch June 26, 2021 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants