Range slider doesn't display trace when y axis set to log scale

when y axis is set to log, trace is not displayed in the range slider. Following is an example of the situation:

Thanks very much for this report.

You can subscribe to https://github.com/plotly/plotly.js/issues/1470 for the latest development info.

You’re very welcome. Thanks for taking care of the issue.

There is another issue with the chart, which has been raised before of the forum. That is that the y range doesn’t update as a new x range is selected with the range slider. If it’s already solved, I would appreciate the reference to the solution. Otherwise, It would be great if it could be addressed, as the chart loses its power. For instance, in my example, when a couple or months are selected, the trace becomes a flat line.

You mean something like: http://codepen.io/etpinard/pen/WpOmjP ?

Thanks for the folllow up Etienne.

In the example (http://codepen.io/etpinard/pen/WpOmjP), the y range becomes [0,1] after a short time. If a short x range from the slider is selected, the displayed trace could become quasi flat:
In the above case an update of the y axis range would be required for a better display of the trace.

Following is an example of the desired behavior:

When loaded, the graph is set to display an x range for the last 17 years of available data, in this case 1999-2017. The y range becomes [0, 160] (no preset/hardcoded range).

Then, when a new x range is selected with the range slider, the y range is updated so that the trace fills a good portion of the y range.

(link to the graph: https://fred.stlouisfed.org/graph/?g=7162)

It would be nice to have the option in plot.ly to update or not the y axis range as the displayed trace(s) y range change. That is, to have the y axis range behave like currently (no update), or an option to have the y axis range updated.

I think you’re asking for something similar to https://github.com/plotly/plotly.js/issues/387

Can you confirm?

Not really. It is more an update of the y axis range when the x axis range is changed. The issue was raised before in Update y axis domain when zoomed on x axis