基本上只有
candlestick2_ohlc(ax, df.open, df.high, df.low, df.close,
colorup='r', colordown='c', width=0.4)
如果打开< =关闭,我只将candlestick2_ohlc
函数中的线条颜色更改为colorup
,如果打开>我将colordown
更改为CREATE TABLE vod_classification (
dbClassId CHAR(4),
dbDescription VARCHAR2(90),
CONSTRAINT vod_classification_PK PRIMARY KEY (dbClassId),
REFERENCES vod_film (dbClass)
);
CREATE TABLE vod_film (
dbFilmId NUMBER(4) NOT NULL,
dbTitle VARCHAR2(50) NOT NULL,
dbDirector_firstname VARCHAR2(10) NOT NULL,
dbDirector_lastname VARCHAR2(10) NOT NULL,
dbGenre VARCHAR2(10),
dbUK_release_date DATE,
dbFilename VARCHAR2 (15),
dbRuntime NUMBER (10),
dbClass CHAR(8),
CONSTRAINT vod_film_PK PRIMARY KEY (dbFilmId),
CONSTRAINT vod_film_class_FK
FOREIGN KEY (dbClass)
REFERENCES vod_classification (dbClassId)
ON DELETE SET NULL
);
关闭。
您是否注意到条形宽度不一样?并且每个条形中的线位置不在中心,并且条形体内的线段与条形体外部的线段不一致。
让我放大:
有谁知道为什么会这样?如何解决这个问题?