我有一个纬度/经度图,其c值为“ myValue”。我需要对c值应用缩放,因为此刻所有点都以相似的颜色显示。我认为日志缩放可以解决问题。如何做到这一点,以便缩放点的颜色,并在c栏上显示正确的值?
df.plot(kind="scatter", x="Longitude", y="Latitude",
c="MyValue", cmap=plt.get_cmap("jet"),
colorbar=True, alpha=0.4, figsize=(20,14)
)
答案 0 :(得分:0)
尝试一下,看看它对您有用
const detectCardType = ({ target }) => {
}
const validateCardExpiryDate = ({ target }) => {
}
const validateCardHolderName = ({ target }) => {
}
const uiCanInteract = () => {
}
const displayCartTotal = ({ results }) => {
const data = results[0]
const {itemsInCart, buyerCountry} = data
appState.items = itemsInCart
appState.country = buyerCountry
appState.bill = itemsInCart.reduce((acc, item) =>
acc + (item.price * item.qty), 0)
appState.billFormated = formatAsMoney(appState.bill, appState.country)
uiCanInteract()
}