This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
height: unset; | |
min-height: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In react js you can sent send data by props parent to child , | |
aslo you can controll parent function from child one | |
this is in parent- | |
saveHandler = () => { | |
} | |
<VehicleCreateExtraInfoForm | |
saveHandler={this.saveHandler} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualenv -p python3 envname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plotly.express as px | |
import pandas as pd | |
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv') | |
fig = px.line(df, x='Date', y='AAPL.High') | |
fig.show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plotly.graph_objects as go | |
import datetime | |
x = [datetime.datetime(year=2013, month=10, day=4), | |
datetime.datetime(year=2013, month=11, day=5), | |
datetime.datetime(year=2013, month=12, day=6)] | |
fig = go.Figure(data=[go.Scatter(x=x, y=[1, 3, 6])]) | |
# Use datetime objects to set xaxis range | |
fig.update_layout(xaxis_range=[datetime.datetime(2013, 10, 17), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
react js template language with varible | |
`/static/img/model-kind/${modelKindIconList[item.modelKind]}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
best way to keep react js separate group of property is separating is property by separate object | |
formValue: { | |
images: [], | |
kind: "" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.scroll({top: 0}); |
OlderNewer