plotly / plotly/plotly_matlab

Datetime/duration format not supported

Open
#162 3 comments 0 reactions 1 assignee View on GitHub

@benaliabderrahmane is already working on this.

Since Jul 30, 2021.

  • #270 by @benaliabderrahmane — closed without merging
⭐⭐⭐ multiplier
Dominant language
MATLAB
Stars
413
Forks
166
PR merge metrics
No merged PRs in 30d

Description

When one or both data vectors are Datatime or Duration objects, an error is produced.

No figure is generated, the error is:
Captura de Pantalla 2021-07-24 a la(s) 1 08 41 a  m

In this case the code used was:

t = 0:seconds(30):minutes(3);
y = 1:7;

plot(t,y,'DurationTickFormat','mm:ss')
fig2plotly()

An example of plotting a Duration object using MATLAB is found on:
'Plot Durations and Specify Tick Format':
https://www.mathworks.com/help/matlab/ref/plot.html

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.